Class: CMIS::QueryResult

Inherits:
Object
  • Object
show all
Defined in:
lib/cmis/query_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(results, num_items, has_more_items, debug_info = nil) ⇒ QueryResult

Returns a new instance of QueryResult


8
9
10
11
12
13
# File 'lib/cmis/query_result.rb', line 8

def initialize(results, num_items, has_more_items, debug_info = nil)
  @results = results
  @num_items = num_items
  @has_more_items = has_more_items
  @debug_info = debug_info
end

Instance Attribute Details

#debug_infoObject (readonly)

Returns the value of attribute debug_info


6
7
8
# File 'lib/cmis/query_result.rb', line 6

def debug_info
  @debug_info
end

#has_more_itemsObject (readonly)

Returns the value of attribute has_more_items


5
6
7
# File 'lib/cmis/query_result.rb', line 5

def has_more_items
  @has_more_items
end

#num_itemsObject (readonly)

Returns the value of attribute num_items


4
5
6
# File 'lib/cmis/query_result.rb', line 4

def num_items
  @num_items
end

#resultsObject (readonly)

Returns the value of attribute results


3
4
5
# File 'lib/cmis/query_result.rb', line 3

def results
  @results
end