Class: FriendlyShipping::Services::ShipEngine::RatesPackageOptions
- Inherits:
-
PackageOptions
- Object
- PackageOptions
- FriendlyShipping::Services::ShipEngine::RatesPackageOptions
- Defined in:
- lib/friendly_shipping/services/ship_engine/rates_package_options.rb
Overview
Options for each package passed in the rates API call.
Instance Attribute Summary
Attributes inherited from PackageOptions
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ RatesPackageOptions
constructor
A new instance of RatesPackageOptions.
Methods inherited from PackageOptions
Constructor Details
#initialize(**kwargs) ⇒ RatesPackageOptions
Returns a new instance of RatesPackageOptions.
12 13 14 |
# File 'lib/friendly_shipping/services/ship_engine/rates_package_options.rb', line 12 def initialize(**kwargs) super(**kwargs.reverse_merge(item_options_class: RatesItemOptions)) end |