Sha256: 03231c23cfd0818e80a1e7336e6daf1696d96179a30ac96a9b299533f0d51181

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  module Services
    class ShipEngineLTL
      class StructureOptions < FriendlyShipping::StructureOptions
        # @param kwargs [Hash]
        # @option kwargs [String] :structure_id
        # @option kwargs [Array<PackageOptions>] :package_options
        # @option kwargs [Class] :package_options_class
        def initialize(**kwargs)
          super(**kwargs.reverse_merge(package_options_class: PackageOptions))
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
friendly_shipping-0.9.0 lib/friendly_shipping/services/ship_engine_ltl/structure_options.rb