Exception: FriendlyShipping::Services::UpsJson::ApiError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/friendly_shipping/services/ups_json/api_error.rb

Instance Attribute Summary

Attributes inherited from ApiError

#cause

Instance Method Summary collapse

Constructor Details

#initialize(cause) ⇒ ApiError

Returns a new instance of ApiError.

Parameters:

  • cause (RestClient::Exception)


8
9
10
# File 'lib/friendly_shipping/services/ups_json/api_error.rb', line 8

def initialize(cause)
  super(cause, parse_message(cause))
end