Class: ObjectJSONMapper::NullRelation

Inherits:
Relation
  • Object
show all
Defined in:
lib/object_json_mapper/null_relation.rb

Instance Attribute Summary

Attributes inherited from Relation

#conditions, #klass

Instance Method Summary collapse

Methods inherited from Relation

#deep_clone, #exists?, #find, #find_by, #initialize, #locals, #none, #paginate, #pluck, #where

Constructor Details

This class inherits a constructor from ObjectJSONMapper::Relation

Instance Method Details

#collectionObject



3
4
5
# File 'lib/object_json_mapper/null_relation.rb', line 3

def collection
  []
end