Exception: Hps::InvalidRequestException

Inherits:
HpsException
  • Object
show all
Defined in:
lib/hps/infrastructure/invalid_request_exception.rb

Instance Attribute Summary collapse

Attributes inherited from HpsException

#code, #inner_exception, #response_code, #response_text

Instance Method Summary collapse

Constructor Details

#initialize(message, param = nil, code = nil) ⇒ InvalidRequestException

Returns a new instance of InvalidRequestException.



6
7
8
9
10
11
12
# File 'lib/hps/infrastructure/invalid_request_exception.rb', line 6

def initialize(message, param = nil, code = nil)

	@param = param
	
  super(message, code)

end

Instance Attribute Details

#paramObject

Returns the value of attribute param.



4
5
6
# File 'lib/hps/infrastructure/invalid_request_exception.rb', line 4

def param
  @param
end