Class: KeytechKit::SearchResponseHeader

Inherits:
Object
  • Object
show all
Defined in:
lib/keytechKit/elements/search_response_header.rb

Overview

Represents the header from search results

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ SearchResponseHeader

Returns a new instance of SearchResponseHeader.



14
15
16
# File 'lib/keytechKit/elements/search_response_header.rb', line 14

def initialize(response)
  parseResponse(response)
end

Instance Attribute Details

#elementListObject

list of elements



11
12
13
# File 'lib/keytechKit/elements/search_response_header.rb', line 11

def elementList
  @elementList
end

#groupByObject

Returns the value of attribute groupBy.



12
13
14
# File 'lib/keytechKit/elements/search_response_header.rb', line 12

def groupBy
  @groupBy
end

#pageNumberObject

Returns the value of attribute pageNumber.



8
9
10
# File 'lib/keytechKit/elements/search_response_header.rb', line 8

def pageNumber
  @pageNumber
end

#pageSizeObject

Returns the value of attribute pageSize.



9
10
11
# File 'lib/keytechKit/elements/search_response_header.rb', line 9

def pageSize
  @pageSize
end

#totalRecordsObject

Returns the value of attribute totalRecords.



10
11
12
# File 'lib/keytechKit/elements/search_response_header.rb', line 10

def totalRecords
  @totalRecords
end