Class: FriendlyShipping::Services::ShipEngineLTL::StructureOptions

Inherits:
FriendlyShipping::StructureOptions show all
Defined in:
lib/friendly_shipping/services/ship_engine_ltl/structure_options.rb

Instance Attribute Summary

Attributes inherited from FriendlyShipping::StructureOptions

#structure_id

Instance Method Summary collapse

Methods inherited from FriendlyShipping::StructureOptions

#options_for_package

Constructor Details

#initialize(**kwargs) ⇒ StructureOptions

Returns a new instance of StructureOptions.

Parameters:

  • kwargs (Hash)

Options Hash (**kwargs):

  • :structure_id (String)
  • :package_options (Array<PackageOptions>)
  • :package_options_class (Class)


11
12
13
# File 'lib/friendly_shipping/services/ship_engine_ltl/structure_options.rb', line 11

def initialize(**kwargs)
  super(**kwargs.reverse_merge(package_options_class: PackageOptions))
end