Class: Peddler::APIs::ShippingV1::LabelSpecification
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::LabelSpecification
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#label_format ⇒ String
readonly
Returns the value of attribute label_format.
-
#label_stock_size ⇒ String
readonly
Returns the value of attribute label_stock_size.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :label_format, :label_stock_size ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::LabelSpecification
Instance Method Summary collapse
-
#members ⇒ [ :label_format, :label_stock_size ]
-
#to_h ⇒ { label_format: String, label_stock_size: String }
Instance Attribute Details
#label_format ⇒ String (readonly)
Returns the value of attribute label_format.
415 416 417 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 415 def label_format @label_format end |
#label_stock_size ⇒ String (readonly)
Returns the value of attribute label_stock_size.
416 417 418 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 416 def label_stock_size @label_stock_size end |
Class Method Details
.[](label_format:, label_stock_size:) ⇒ Peddler::APIs::ShippingV1::LabelSpecification .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV1::LabelSpecification
408 409 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 408
def self.[]: (label_format: String, label_stock_size: String) -> Peddler::APIs::ShippingV1::LabelSpecification
| (String, String) -> Peddler::APIs::ShippingV1::LabelSpecification
|
.members ⇒ [ :label_format, :label_stock_size ]
411 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 411
def self.members: () -> [ :label_format, :label_stock_size ]
|
.new(label_format:, label_stock_size:) ⇒ Peddler::APIs::ShippingV1::LabelSpecification .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV1::LabelSpecification
406 407 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 406
def self.new: (label_format: String, label_stock_size: String) -> Peddler::APIs::ShippingV1::LabelSpecification
| (String, String) -> Peddler::APIs::ShippingV1::LabelSpecification
|
.parse ⇒ Peddler::APIs::ShippingV1::LabelSpecification
413 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 413
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::LabelSpecification
|
Instance Method Details
#members ⇒ [ :label_format, :label_stock_size ]
418 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 418
def members: () -> [ :label_format, :label_stock_size ]
|
#to_h ⇒ { label_format: String, label_stock_size: String }
419 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 419
def to_h: () -> { label_format: String, label_stock_size: String }
|