Class: Peddler::APIs::ShippingV2::SupportedDocumentSpecification
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::SupportedDocumentSpecification
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#print_options ⇒ Array[Peddler::APIs::ShippingV2::PrintOption]
readonly
Returns the value of attribute print_options.
-
#size ⇒ Peddler::APIs::ShippingV2::DocumentSize
readonly
Returns the value of attribute size.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :format, :print_options, :size ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::SupportedDocumentSpecification
Instance Method Summary collapse
-
#members ⇒ [ :format, :print_options, :size ]
-
#to_h ⇒ { format: String, print_options: Array[Peddler::APIs::ShippingV2::PrintOption], size: Peddler::APIs::ShippingV2::DocumentSize }
Instance Attribute Details
#format ⇒ String (readonly)
Returns the value of attribute format.
1786 1787 1788 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1786 def format @format end |
#print_options ⇒ Array[Peddler::APIs::ShippingV2::PrintOption] (readonly)
Returns the value of attribute print_options.
1787 1788 1789 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1787 def @print_options end |
#size ⇒ Peddler::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 ]
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
|
.parse ⇒ Peddler::APIs::ShippingV2::SupportedDocumentSpecification
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 ]
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 }
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 }
|