Class: ActiveShipping::AustraliaPost::AustraliaPostRateEstimate
- Inherits:
-
RateEstimate
- Object
- RateEstimate
- ActiveShipping::AustraliaPost::AustraliaPostRateEstimate
- Defined in:
- lib/active_shipping/carriers/australia_post.rb
Instance Attribute Summary collapse
-
#delivery_time_text ⇒ Object
readonly
Returns the value of attribute delivery_time_text.
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
-
#initialize(origin, destination, carrier, service_name, options = {}) ⇒ AustraliaPostRateEstimate
constructor
A new instance of AustraliaPostRateEstimate.
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/active_shipping/carriers/australia_post.rb', line 241 def initialize(origin, destination, carrier, service_name, = {}) super @delivery_time_text = [:delivery_time_text] end |
Instance Attribute Details
#delivery_time_text ⇒ Object (readonly)
Returns the value of attribute delivery_time_text.
239 240 241 |
# File 'lib/active_shipping/carriers/australia_post.rb', line 239 def delivery_time_text @delivery_time_text end |