Class: ActiveMerchant::Shipping::CPPWSRateResponse
- Inherits:
-
RateResponse
- Object
- Response
- RateResponse
- ActiveMerchant::Shipping::CPPWSRateResponse
- Includes:
- CPPWSErrorResponse
- Defined in:
- lib/active_shipping/shipping/carriers/canada_post_pws.rb
Instance Attribute Summary
Attributes included from CPPWSErrorResponse
Attributes inherited from RateResponse
Attributes inherited from Response
#message, #params, #request, #test, #xml
Instance Method Summary collapse
-
#initialize(success, message, params = {}, options = {}) ⇒ CPPWSRateResponse
constructor
A new instance of CPPWSRateResponse.
Methods included from CPPWSErrorResponse
Methods inherited from Response
Constructor Details
#initialize(success, message, params = {}, options = {}) ⇒ CPPWSRateResponse
Returns a new instance of CPPWSRateResponse.
777 778 779 780 |
# File 'lib/active_shipping/shipping/carriers/canada_post_pws.rb', line 777 def initialize(success, , params = {}, = {}) handle_error(, ) super end |