Exception: Streambird::Api::APIKeyInvalid

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

Instance Attribute Summary

Attributes inherited from Error

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Provided api_key is invalid. Please double check you passed it in correctly and try again. If you're having trouble finding it, check your Streambird Dashboard", status_code = nil) ⇒ APIKeyInvalid

Returns a new instance of APIKeyInvalid.



40
41
42
# File 'lib/streambird/api/errors.rb', line 40

def initialize(message = "Provided api_key is invalid. Please double check you passed it in correctly and try again. If you're having trouble finding it, check your Streambird Dashboard", status_code = nil)
  super(message, status_code)
end