Exception: Geocoder::ResponseParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/geocoder/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ResponseParseError

Returns a new instance of ResponseParseError.



17
18
19
# File 'lib/geocoder/exceptions.rb', line 17

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



15
16
17
# File 'lib/geocoder/exceptions.rb', line 15

def response
  @response
end