Exception: BranchIO::Client::ErrorApiCallFailed
- Inherits:
-
StandardError
- Object
- StandardError
- BranchIO::Client::ErrorApiCallFailed
- Defined in:
- lib/branch_io/client/response.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ErrorApiCallFailed
constructor
A new instance of ErrorApiCallFailed.
Constructor Details
#initialize(response) ⇒ ErrorApiCallFailed
Returns a new instance of ErrorApiCallFailed.
5 6 7 8 |
# File 'lib/branch_io/client/response.rb', line 5 def initialize(response) @response = response super("API call failed") end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
4 5 6 |
# File 'lib/branch_io/client/response.rb', line 4 def response @response end |