Exception: Scale::Api::Unauthorized
- Defined in:
- lib/scale/api/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#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
constructor
A new instance of Unauthorized.
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( = "Please ensure that the api_key provided is correct. To find your API key, go to your Scale Dashboard", status_code = 401) super(, status_code) end |