Method: Chain::ResponseObject::TranslateError#initialize
- Defined in:
- lib/chain/response_object.rb
#initialize(attrib_name, raw_value, source) ⇒ TranslateError
Returns a new instance of TranslateError.
95 96 97 98 99 100 |
# File 'lib/chain/response_object.rb', line 95 def initialize(attrib_name, raw_value, source) super "Error translating attrib #{attrib_name}: #{source}" @attrib_name = attrib_name @raw_value = raw_value @source = source end |