Exception: Spacebunny::DeviceKeyOrClientAndSecretRequired

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/spacebunny/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ DeviceKeyOrClientAndSecretRequired

Returns a new instance of DeviceKeyOrClientAndSecretRequired.



3
4
5
6
# File 'lib/spacebunny/exceptions.rb', line 3

def initialize(message = nil)
  message = message || "A valid 'Api Key' or valid 'Client' and 'Secret' are required for auto-configuration"
  super(message)
end