Exception: GrowthPush::BadRequest

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) ⇒ BadRequest

Returns a new instance of BadRequest.



37
38
39
# File 'lib/growth_push/exception.rb', line 37

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