Class: Peddler::APIs::NotificationsV1::Error
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::NotificationsV1::Error
- Defined in:
- sig/peddler/apis/notifications_v1.rbs
Instance Attribute Summary collapse
-
#code ⇒ String
readonly
Returns the value of attribute code.
-
#details ⇒ String?
readonly
Returns the value of attribute details.
-
#message ⇒ String
readonly
Returns the value of attribute message.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :code, :message, :details ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::NotificationsV1::Error
Instance Method Summary collapse
-
#members ⇒ [ :code, :message, :details ]
-
#to_h ⇒ { code: String, message: String, details: String? }
Instance Attribute Details
#code ⇒ String (readonly)
Returns the value of attribute code.
203 204 205 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 203 def code @code end |
#details ⇒ String? (readonly)
Returns the value of attribute details.
204 205 206 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 204 def details @details end |
#message ⇒ String (readonly)
Returns the value of attribute message.
205 206 207 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 205 def @message end |
Class Method Details
.[](code:, message:, details:) ⇒ Peddler::APIs::NotificationsV1::Error .[](arg0, arg1, arg2) ⇒ Peddler::APIs::NotificationsV1::Error
196 197 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 196
def self.[]: (code: String, message: String, ?details: String?) -> Peddler::APIs::NotificationsV1::Error
| (String, String, String?) -> Peddler::APIs::NotificationsV1::Error
|
.members ⇒ [ :code, :message, :details ]
199 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 199
def self.members: () -> [ :code, :message, :details ]
|
.new(code:, message:, details:) ⇒ Peddler::APIs::NotificationsV1::Error .new(arg0, arg1, arg2) ⇒ Peddler::APIs::NotificationsV1::Error
194 195 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 194
def self.new: (code: String, message: String, ?details: String?) -> Peddler::APIs::NotificationsV1::Error
| (String, String, String?) -> Peddler::APIs::NotificationsV1::Error
|
.parse ⇒ Peddler::APIs::NotificationsV1::Error
201 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 201
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::Error
|
Instance Method Details
#members ⇒ [ :code, :message, :details ]
207 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 207
def members: () -> [ :code, :message, :details ]
|
#to_h ⇒ { code: String, message: String, details: String? }
208 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 208
def to_h: () -> { code: String, message: String, details: String? }
|