Exception: Rubizon::InvalidParameterError

Inherits:
RubizonError
  • Object
show all
Defined in:
lib/rubizon/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = 'An invalid parameter is in the request') ⇒ InvalidParameterError

Returns a new instance of InvalidParameterError.



7
8
9
# File 'lib/rubizon/exceptions.rb', line 7

def initialize(message='An invalid parameter is in the request')
  @message= message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



6
7
8
# File 'lib/rubizon/exceptions.rb', line 6

def message
  @message
end