Class: Peddler::APIs::ShippingV2::ActiveAccount
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::ActiveAccount
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#account_id ⇒ String?
readonly
Returns the value of attribute account_id.
-
#carrier_id ⇒ String?
readonly
Returns the value of attribute carrier_id.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :account_id, :carrier_id ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::ShippingV2::ActiveAccount
Instance Method Summary collapse
Instance Attribute Details
#account_id ⇒ String? (readonly)
Returns the value of attribute account_id.
76 77 78 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 76 def account_id @account_id end |
#carrier_id ⇒ String? (readonly)
Returns the value of attribute carrier_id.
77 78 79 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 77 def carrier_id @carrier_id end |
Class Method Details
.[](account_id:, carrier_id:) ⇒ Peddler::APIs::ShippingV2::ActiveAccount .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::ActiveAccount
69 70 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 69 def self.[]: (?account_id: String?, ?carrier_id: String?) -> Peddler::APIs::ShippingV2::ActiveAccount | (String?, String?) -> Peddler::APIs::ShippingV2::ActiveAccount |
.members ⇒ [ :account_id, :carrier_id ]
72 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 72 def self.members: () -> [ :account_id, :carrier_id ] |
.new(account_id:, carrier_id:) ⇒ Peddler::APIs::ShippingV2::ActiveAccount .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::ActiveAccount
67 68 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 67 def self.new: (?account_id: String?, ?carrier_id: String?) -> Peddler::APIs::ShippingV2::ActiveAccount | (String?, String?) -> Peddler::APIs::ShippingV2::ActiveAccount |
.parse ⇒ Peddler::APIs::ShippingV2::ActiveAccount
74 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 74 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::ActiveAccount |
Instance Method Details
#members ⇒ [ :account_id, :carrier_id ]
79 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 79 def members: () -> [ :account_id, :carrier_id ] |
#to_h ⇒ { account_id: String?, carrier_id: String? }
80 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 80 def to_h: () -> { account_id: String?, carrier_id: String? } |