Exception: SoraGeocoding::ResponseParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sora_geocoding/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ResponseParseError

Returns a new instance of ResponseParseError.



10
11
12
# File 'lib/sora_geocoding/exceptions.rb', line 10

def initialize(response)
  @response = response
end

Instance Attribute Details

#response ⇒ Object (readonly)

Returns the value of attribute response.



8
9
10
# File 'lib/sora_geocoding/exceptions.rb', line 8

def response
  @response
end