Exception: BigBrotha::MissingParam

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

Instance Method Summary collapse

Methods inherited from Error

#message

Instance Method Details

#errorObject



28
29
30
# File 'lib/bigbrotha/errors.rb', line 28

def error
  'missing_param'
end

#statusObject



32
33
34
# File 'lib/bigbrotha/errors.rb', line 32

def status
  :bad_request
end