Sha256: 32869bee45fcb539d319831e539e7c422563140f880f0b8b1c5df733ea8cf9b7

Contents?: true

Size: 650 Bytes

Versions: 62

Compression:

Stored size: 650 Bytes

Contents

module ActiveShipping
  class DeliveryDateEstimate
    attr_reader :origin
    attr_reader :destination
    attr_reader :carrier
    attr_reader :service_name
    attr_reader :service_code
    attr_reader :date
    attr_reader :guaranteed
    attr_reader :business_transit_days

    def initialize(origin, destination, carrier, service_name, options = {})
      @origin, @destination, @carrier, @service_name = origin, destination, carrier, service_name
      @service_code = options[:service_code]
      @date = options[:date]
      @guaranteed = options[:guaranteed]
      @business_transit_days = options[:business_transit_days]
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.27 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.26 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.45 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.25 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.23 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.44 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.22 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.43 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.21 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.42 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.20 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.41 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.19 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.40 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.18 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.39 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.17 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.38 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.5.16 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb
workarea-core-3.4.37 vendor/active_shipping/lib/active_shipping/delivery_date_estimate.rb