Class: ReactiveShipping::AustraliaPost::AustraliaPostRateEstimate

Inherits:
RateEstimate
  • Object
show all
Defined in:
lib/reactive_shipping/carriers/australia_post.rb

Instance Attribute Summary collapse

Attributes inherited from RateEstimate

#carrier, #charge_items, #compare_price, #currency, #delivery_category, #delivery_date, #delivery_range, #description, #destination, #estimate_reference, #expires_at, #insurance_price, #messages, #negotiated_rate, #origin, #package_rates, #phone_required, #pickup_time, #service_code, #service_name, #shipment_options, #shipping_date

Instance Method Summary collapse

Methods inherited from RateEstimate

#add, #package_count, #packages, #total_price, #total_price=

Constructor Details

#initialize(origin, destination, carrier, service_name, options = {}) ⇒ AustraliaPostRateEstimate

Returns a new instance of AustraliaPostRateEstimate.



241
242
243
244
# File 'lib/reactive_shipping/carriers/australia_post.rb', line 241

def initialize(origin, destination, carrier, service_name, options = {})
  super
  @delivery_time_text = options[:delivery_time_text]
end

Instance Attribute Details

#delivery_time_textObject (readonly)

Returns the value of attribute delivery_time_text.



239
240
241
# File 'lib/reactive_shipping/carriers/australia_post.rb', line 239

def delivery_time_text
  @delivery_time_text
end