Class: Peddler::APIs::ShippingV2::SupportedDocumentSpecification

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#formatString (readonly)

Returns the value of attribute format.

Returns:

  • (String)


1786
1787
1788
# File 'sig/peddler/apis/shipping_v2.rbs', line 1786

def format
  @format
end

Returns the value of attribute print_options.



1787
1788
1789
# File 'sig/peddler/apis/shipping_v2.rbs', line 1787

def print_options
  @print_options
end

#sizePeddler::APIs::ShippingV2::DocumentSize (readonly)

Returns the value of attribute size.



1788
1789
1790
# File 'sig/peddler/apis/shipping_v2.rbs', line 1788

def size
  @size
end

Class Method Details

.[](format:, print_options:, size:) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentSpecification .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentSpecification



1779
1780
# File 'sig/peddler/apis/shipping_v2.rbs', line 1779

def self.[]: (format: String, print_options: Array[Peddler::APIs::ShippingV2::PrintOption], size: Peddler::APIs::ShippingV2::DocumentSize) -> Peddler::APIs::ShippingV2::SupportedDocumentSpecification
| (String, Array[Peddler::APIs::ShippingV2::PrintOption], Peddler::APIs::ShippingV2::DocumentSize) -> Peddler::APIs::ShippingV2::SupportedDocumentSpecification

.members[ :format, :print_options, :size ]

Returns:

  • ([ :format, :print_options, :size ])


1782
# File 'sig/peddler/apis/shipping_v2.rbs', line 1782

def self.members: () -> [ :format, :print_options, :size ]

.new(format:, print_options:, size:) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentSpecification .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentSpecification



1777
1778
# File 'sig/peddler/apis/shipping_v2.rbs', line 1777

def self.new: (format: String, print_options: Array[Peddler::APIs::ShippingV2::PrintOption], size: Peddler::APIs::ShippingV2::DocumentSize) -> Peddler::APIs::ShippingV2::SupportedDocumentSpecification
| (String, Array[Peddler::APIs::ShippingV2::PrintOption], Peddler::APIs::ShippingV2::DocumentSize) -> Peddler::APIs::ShippingV2::SupportedDocumentSpecification

.parsePeddler::APIs::ShippingV2::SupportedDocumentSpecification

Parameters:

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

Returns:



1784
# File 'sig/peddler/apis/shipping_v2.rbs', line 1784

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::SupportedDocumentSpecification

Instance Method Details

#members[ :format, :print_options, :size ]

Returns:

  • ([ :format, :print_options, :size ])


1790
# File 'sig/peddler/apis/shipping_v2.rbs', line 1790

def members: () -> [ :format, :print_options, :size ]

#to_h{ format: String, print_options: Array[Peddler::APIs::ShippingV2::PrintOption], size: Peddler::APIs::ShippingV2::DocumentSize }

Returns:



1791
# File 'sig/peddler/apis/shipping_v2.rbs', line 1791

def to_h: () -> { format: String, print_options: Array[Peddler::APIs::ShippingV2::PrintOption], size: Peddler::APIs::ShippingV2::DocumentSize }