Method: OData::Query::Criteria#initialize
- Defined in:
- lib/odata/query/criteria.rb
#initialize(options = {}) ⇒ Criteria
Initializes a new criteria with provided options.
15 16 17 18 19 |
# File 'lib/odata/query/criteria.rb', line 15 def initialize( = {}) @property = [:property] @operator = [:operator] @value = [:value] end |