Exception: JOR::DocumentNeedsId
- Defined in:
- lib/jor/errors.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ DocumentNeedsId
constructor
A new instance of DocumentNeedsId.
Constructor Details
#initialize(name) ⇒ DocumentNeedsId
Returns a new instance of DocumentNeedsId.
37 38 39 |
# File 'lib/jor/errors.rb', line 37 def initialize(name) super %(The collection #{name} is not auto-incremental. You must define the "_id" of the document") end |