Class: Peddler::APIs::FulfillmentOutbound20200701::Origin

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#country_codeString (readonly)

Returns the value of attribute country_code.

Returns:

  • (String)


1208
1209
1210
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1208

def country_code
  @country_code
end

Class Method Details

.[](country_code:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Origin .[](arg0) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Origin

Overloads:



1201
1202
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1201

def self.[]: (country_code: String) -> Peddler::APIs::FulfillmentOutbound20200701::Origin
| (String) -> Peddler::APIs::FulfillmentOutbound20200701::Origin

.members[ :country_code ]

Returns:

  • ([ :country_code ])


1204
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1204

def self.members: () -> [ :country_code ]

.new(country_code:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Origin .new(arg0) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Origin

Overloads:



1199
1200
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1199

def self.new: (country_code: String) -> Peddler::APIs::FulfillmentOutbound20200701::Origin
| (String) -> Peddler::APIs::FulfillmentOutbound20200701::Origin

.parsePeddler::APIs::FulfillmentOutbound20200701::Origin

Parameters:

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

Returns:



1206
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1206

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

Instance Method Details

#members[ :country_code ]

Returns:

  • ([ :country_code ])


1210
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1210

def members: () -> [ :country_code ]

#to_h{ country_code: String }

Returns:

  • ({ country_code: String })


1211
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1211

def to_h: () -> { country_code: String }