Module: ActiveMerchant::Shipping::CPPWSErrorResponse
- Included in:
- CPPWSMerchantDetailsResponse, CPPWSRateResponse, CPPWSRegisterResponse, CPPWSShippingResponse, CPPWSTrackingResponse
- Defined in:
- lib/active_shipping/shipping/carriers/canada_post_pws.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
Instance Method Summary collapse
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
790 791 792 |
# File 'lib/active_shipping/shipping/carriers/canada_post_pws.rb', line 790 def error_code @error_code end |
Instance Method Details
#handle_error(message, options) ⇒ Object
791 792 793 |
# File 'lib/active_shipping/shipping/carriers/canada_post_pws.rb', line 791 def handle_error(, ) @error_code = [:code] end |