Exception: Spacebunny::SecretRequired

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

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ SecretRequired

Returns a new instance of SecretRequired.



64
65
66
67
# File 'lib/spacebunny/exceptions.rb', line 64

def initialize(message = nil)
  message = message || "Missing mandatory 'secret' Spacebunny::LiveStream.new(:client => 'a_valid_client', :secret: 'a_valid_secret')"
  super(message)
end