Method: OData::Query::Result#initialize

Defined in:
lib/odata/query/result.rb

#initialize(query, result) ⇒ Result

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Initialize a result with the query and the result.

Parameters:



11
12
13
14
# File 'lib/odata/query/result.rb', line 11

def initialize(query, result)
  @query      = query
  @result     = result
end