Class: ActiveShipping::StampsPurchasePostageResponse
- Defined in:
- lib/active_shipping/carriers/stamps.rb
Instance Attribute Summary collapse
-
#available_postage ⇒ Object
readonly
Returns the value of attribute available_postage.
-
#control_total ⇒ Object
readonly
Returns the value of attribute control_total.
-
#purchase_status ⇒ Object
readonly
Returns the value of attribute purchase_status.
-
#rejection_reason ⇒ Object
readonly
Returns the value of attribute rejection_reason.
-
#transaction_id ⇒ Object
readonly
Returns the value of attribute transaction_id.
Attributes inherited from Response
#message, #params, #request, #test, #xml
Instance Method Summary collapse
-
#initialize(success, message, params = {}, options = {}) ⇒ StampsPurchasePostageResponse
constructor
A new instance of StampsPurchasePostageResponse.
Methods inherited from Response
Constructor Details
#initialize(success, message, params = {}, options = {}) ⇒ StampsPurchasePostageResponse
Returns a new instance of StampsPurchasePostageResponse.
801 802 803 804 805 806 807 808 |
# File 'lib/active_shipping/carriers/stamps.rb', line 801 def initialize(success, , params = {}, = {}) super @purchase_status = [:purchase_status] @transaction_id = [:transaction_id] @available_postage = [:available_postage] @control_total = [:control_total] @rejection_reason = [:rejection_reason] end |
Instance Attribute Details
#available_postage ⇒ Object (readonly)
Returns the value of attribute available_postage.
799 800 801 |
# File 'lib/active_shipping/carriers/stamps.rb', line 799 def available_postage @available_postage end |
#control_total ⇒ Object (readonly)
Returns the value of attribute control_total.
799 800 801 |
# File 'lib/active_shipping/carriers/stamps.rb', line 799 def control_total @control_total end |
#purchase_status ⇒ Object (readonly)
Returns the value of attribute purchase_status.
799 800 801 |
# File 'lib/active_shipping/carriers/stamps.rb', line 799 def purchase_status @purchase_status end |
#rejection_reason ⇒ Object (readonly)
Returns the value of attribute rejection_reason.
799 800 801 |
# File 'lib/active_shipping/carriers/stamps.rb', line 799 def rejection_reason @rejection_reason end |
#transaction_id ⇒ Object (readonly)
Returns the value of attribute transaction_id.
799 800 801 |
# File 'lib/active_shipping/carriers/stamps.rb', line 799 def transaction_id @transaction_id end |