Class: FriendlyShipping::ItemOptions
- Inherits:
-
Object
- Object
- FriendlyShipping::ItemOptions
- Defined in:
- lib/friendly_shipping/item_options.rb
Direct Known Subclasses
Services::ShipEngine::LabelItemOptions, Services::ShipEngineLTL::ItemOptions, Services::Ups::LabelItemOptions, Services::UpsFreight::RatesItemOptions
Instance Attribute Summary collapse
-
#item_id ⇒ Object
readonly
Returns the value of attribute item_id.
Instance Method Summary collapse
-
#initialize(item_id:) ⇒ ItemOptions
constructor
A new instance of ItemOptions.
Constructor Details
#initialize(item_id:) ⇒ ItemOptions
Returns a new instance of ItemOptions.
7 8 9 |
# File 'lib/friendly_shipping/item_options.rb', line 7 def initialize(item_id:) @item_id = item_id end |
Instance Attribute Details
#item_id ⇒ Object (readonly)
Returns the value of attribute item_id.
5 6 7 |
# File 'lib/friendly_shipping/item_options.rb', line 5 def item_id @item_id end |