class Geoloco::Forbidden
Forbidden
error class. Raised by adapters when a forbidden error is received from the providers
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/geoloco.rb, line 24 def initialize(response) super "#{response.code} - #{response.body}" end