Exception: BranchIO::Client::ErrorApiCallFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/branch_io/client/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



4
5
6
# File 'lib/branch_io/client/response.rb', line 4

def response
  @response
end