Exception: Definition::InvalidModelError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conform_result) ⇒ InvalidModelError

Returns a new instance of InvalidModelError.



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

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.



5
6
7
# File 'lib/definition/model.rb', line 5

def conform_result
  @conform_result
end