Sha256: f54a16efd05809c6a5e486037153e481deab872955784c2086b4a200a955fbc7
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
# frozen_string_literal: true require 'friendly_shipping/shipment_options' module FriendlyShipping module Services class ShipEngineLTL class QuoteOptions < ShipmentOptions attr_reader :service_code, :pickup_date, :accessorial_service_codes, :packages_serializer_class # @param [String] service_code # @param [Time] pickup_date # @param [Array<String>] accessorial_service_codes # @param [Class] packages_serializer_class def initialize( service_code: nil, pickup_date: nil, accessorial_service_codes: [], packages_serializer_class: SerializePackages, **kwargs ) @service_code = service_code @pickup_date = pickup_date @accessorial_service_codes = accessorial_service_codes @packages_serializer_class = packages_serializer_class super(**kwargs.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.8.1 | lib/friendly_shipping/services/ship_engine_ltl/quote_options.rb |