Exception: Fulfil::ResponseParser::UnhandledTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fulfil/response_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, value) ⇒ UnhandledTypeError

Returns a new instance of UnhandledTypeError.



8
9
10
11
# File 'lib/fulfil/response_parser.rb', line 8

def initialize(msg, value)
  @value = value
  super(msg)
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



6
7
8
# File 'lib/fulfil/response_parser.rb', line 6

def value
  @value
end