Method: ApiResource::ConnectionError#initialize

Defined in:
lib/api_resource/exceptions.rb

#initialize(response, options = {}) ⇒ ConnectionError

Returns a new instance of ConnectionError.



8
9
10
11
12
# File 'lib/api_resource/exceptions.rb', line 8

def initialize(response, options = {})
  @response = response
  @message  = options[:message]
  @path     = options[:path]
end