Class: Peddler::APIs::ShippingV2::PackageDocument
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::PackageDocument
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#contents ⇒ String
readonly
Returns the value of attribute contents.
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :contents, :format, :type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::PackageDocument
Instance Method Summary collapse
Instance Attribute Details
#contents ⇒ String (readonly)
Returns the value of attribute contents.
1434 1435 1436 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1434 def contents @contents end |
#format ⇒ String (readonly)
Returns the value of attribute format.
1435 1436 1437 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1435 def format @format end |
#type ⇒ String (readonly)
Returns the value of attribute type.
1436 1437 1438 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1436 def type @type end |
Class Method Details
.[](contents:, format:, type:) ⇒ Peddler::APIs::ShippingV2::PackageDocument .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV2::PackageDocument
1427 1428 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1427
def self.[]: (contents: String, format: String, type: String) -> Peddler::APIs::ShippingV2::PackageDocument
| (String, String, String) -> Peddler::APIs::ShippingV2::PackageDocument
|
.members ⇒ [ :contents, :format, :type ]
1430 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1430
def self.members: () -> [ :contents, :format, :type ]
|
.new(contents:, format:, type:) ⇒ Peddler::APIs::ShippingV2::PackageDocument .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV2::PackageDocument
1425 1426 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1425
def self.new: (contents: String, format: String, type: String) -> Peddler::APIs::ShippingV2::PackageDocument
| (String, String, String) -> Peddler::APIs::ShippingV2::PackageDocument
|
.parse ⇒ Peddler::APIs::ShippingV2::PackageDocument
1432 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1432
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::PackageDocument
|
Instance Method Details
#members ⇒ [ :contents, :format, :type ]
1438 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1438
def members: () -> [ :contents, :format, :type ]
|
#to_h ⇒ { contents: String, format: String, type: String }
1439 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1439
def to_h: () -> { contents: String, format: String, type: String }
|