Exception: GrowthPush::Unauthorized

Inherits:
Exception
  • Object
show all
Defined in:
lib/growth_push/exception.rb

Instance Attribute Summary

Attributes inherited from Exception

#code, #status

Instance Method Summary collapse

Methods inherited from Exception

handle_response, klass_for_status

Constructor Details

#initialize(code, message) ⇒ Unauthorized

Returns a new instance of Unauthorized.



43
44
45
# File 'lib/growth_push/exception.rb', line 43

def initialize(code, message)
  super 401, code, message
end