Class: Peddler::Notifications::AnyOfferChanged::ShipsFrom

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/any_offer_changed.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countryString (readonly)

Returns the value of attribute country.

Returns:

  • (String)


291
292
293
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 291

def country
  @country
end

#stateString (readonly)

Returns the value of attribute state.

Returns:

  • (String)


292
293
294
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 292

def state
  @state
end

Class Method Details

.[](country:, state:) ⇒ Peddler::Notifications::AnyOfferChanged::ShipsFrom .[](arg0, arg1) ⇒ Peddler::Notifications::AnyOfferChanged::ShipsFrom

Overloads:



284
285
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 284

def self.[]: (country: String, state: String) -> Peddler::Notifications::AnyOfferChanged::ShipsFrom
| (String, String) -> Peddler::Notifications::AnyOfferChanged::ShipsFrom

.members[ :country, :state ]

Returns:

  • ([ :country, :state ])


287
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 287

def self.members: () -> [ :country, :state ]

.new(country:, state:) ⇒ Peddler::Notifications::AnyOfferChanged::ShipsFrom .new(arg0, arg1) ⇒ Peddler::Notifications::AnyOfferChanged::ShipsFrom

Overloads:



282
283
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 282

def self.new: (country: String, state: String) -> Peddler::Notifications::AnyOfferChanged::ShipsFrom
| (String, String) -> Peddler::Notifications::AnyOfferChanged::ShipsFrom

.parsePeddler::Notifications::AnyOfferChanged::ShipsFrom

Parameters:

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

Returns:



289
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 289

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::ShipsFrom

Instance Method Details

#members[ :country, :state ]

Returns:

  • ([ :country, :state ])


294
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 294

def members: () -> [ :country, :state ]

#to_h{ country: String, state: String }

Returns:

  • ({ country: String, state: String })


295
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 295

def to_h: () -> { country: String, state: String }