Exception: Geoloco::Forbidden
Overview
Forbidden error class. Raised by adapters when a forbidden error is received from the providers
Instance Method Summary collapse
-
#initialize(response) ⇒ Forbidden
constructor
A new instance of Forbidden.
Constructor Details
#initialize(response) ⇒ Forbidden
Returns a new instance of Forbidden.
24 25 26 |
# File 'lib/geoloco.rb', line 24 def initialize(response) super "#{response.code} - #{response.body}" end |