Exception: Definition::InvalidValueObjectError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/definition/value_object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conform_result) ⇒ InvalidValueObjectError

Returns a new instance of InvalidValueObjectError.



9
10
11
12
# File 'lib/definition/value_object.rb', line 9

def initialize(conform_result)
  super(conform_result.error_message)
  self.conform_result = conform_result
end

Instance Attribute Details

#conform_resultObject

Returns the value of attribute conform_result.



7
8
9
# File 'lib/definition/value_object.rb', line 7

def conform_result
  @conform_result
end