Sha256: 96adffc0400a8fce8b9494959fe8480b9d7f0d58cf95cc3d1d26bb839c6e69f0

Contents?: true

Size: 649 Bytes

Versions: 52

Compression:

Stored size: 649 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

52 entries across 52 versions & 1 rubygems

Version Path
active_shipping-2.1.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-2.1.0 lib/active_shipping/delivery_date_estimate.rb
active_shipping-2.0.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-2.0.0 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.14.2 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.14.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.14.0 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.13.4 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.13.3 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.13.2 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.13.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.13.0 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.12.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.12.0 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.11.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.11.0 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.10.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.9.2 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.9.1 lib/active_shipping/delivery_date_estimate.rb
active_shipping-1.9.0 lib/active_shipping/delivery_date_estimate.rb