Class: Fire::NestedModel::CollectionIsSetError

Inherits:
FireModelError
  • Object
show all
Defined in:
lib/model/nested/nested_model.rb

Instance Method Summary collapse

Constructor Details

#initialize(nested_model) ⇒ CollectionIsSetError

Returns a new instance of CollectionIsSetError.



64
65
66
# File 'lib/model/nested/nested_model.rb', line 64

def initialize(nested_model)
  super("Nested Model '#{nested_model}' can not have own Collection. It is extended from Parent Model '#{nested_model.parent}'")
end