Class: Peddler::APIs::ShippingV1::LabelSpecification

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/shipping_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#label_formatString (readonly)

Returns the value of attribute label_format.

Returns:

  • (String)


415
416
417
# File 'sig/peddler/apis/shipping_v1.rbs', line 415

def label_format
  @label_format
end

#label_stock_sizeString (readonly)

Returns the value of attribute label_stock_size.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ShippingV1::LabelSpecification

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

  • ({ 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 }