Class: Peddler::APIs::ShipmentInvoicingV0::Error
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShipmentInvoicingV0::Error
- Defined in:
- sig/peddler/apis/shipment_invoicing_v0.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::ShipmentInvoicingV0::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.
59 60 61 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 59 def code @code end |
#details ⇒ String? (readonly)
Returns the value of attribute details.
60 61 62 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 60 def details @details end |
#message ⇒ String (readonly)
Returns the value of attribute message.
61 62 63 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 61 def end |
Class Method Details
.[](code:, message:, details:) ⇒ Peddler::APIs::ShipmentInvoicingV0::Error .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ShipmentInvoicingV0::Error
52 53 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 52 def self.[]: (code: String, message: String, ?details: String?) -> Peddler::APIs::ShipmentInvoicingV0::Error | (String, String, String?) -> Peddler::APIs::ShipmentInvoicingV0::Error |
.members ⇒ [ :code, :message, :details ]
55 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 55 def self.members: () -> [ :code, :message, :details ] |
.new(code:, message:, details:) ⇒ Peddler::APIs::ShipmentInvoicingV0::Error .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ShipmentInvoicingV0::Error
50 51 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 50 def self.new: (code: String, message: String, ?details: String?) -> Peddler::APIs::ShipmentInvoicingV0::Error | (String, String, String?) -> Peddler::APIs::ShipmentInvoicingV0::Error |
.parse ⇒ Peddler::APIs::ShipmentInvoicingV0::Error
57 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 57 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShipmentInvoicingV0::Error |
Instance Method Details
#members ⇒ [ :code, :message, :details ]
63 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 63 def members: () -> [ :code, :message, :details ] |
#to_h ⇒ { code: String, message: String, details: String? }
64 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 64 def to_h: () -> { code: String, message: String, details: String? } |