Exception: Scale::Api::Unauthorized

Inherits:
Error
  • Object
show all
Defined in:
lib/scale/api/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Please ensure that the api_key provided is correct. To find your API key, go to your Scale Dashboard", status_code = 401) ⇒ Unauthorized

Returns a new instance of Unauthorized.



22
23
24
# File 'lib/scale/api/errors.rb', line 22

def initialize(message = "Please ensure that the api_key provided is correct. To find your API key, go to your Scale Dashboard", status_code = 401)
  super(message, status_code)
end