Class: KeytechKit::SearchResponseHeader
- Inherits:
-
Object
- Object
- KeytechKit::SearchResponseHeader
- Defined in:
- lib/keytechKit/elements/search_response_header.rb
Overview
Represents the header from search results
Instance Attribute Summary collapse
-
#elementList ⇒ Object
list of elements.
-
#groupBy ⇒ Object
Returns the value of attribute groupBy.
-
#pageNumber ⇒ Object
Returns the value of attribute pageNumber.
-
#pageSize ⇒ Object
Returns the value of attribute pageSize.
-
#totalRecords ⇒ Object
Returns the value of attribute totalRecords.
Instance Method Summary collapse
-
#initialize(response) ⇒ SearchResponseHeader
constructor
A new instance of SearchResponseHeader.
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
#elementList ⇒ Object
list of elements
11 12 13 |
# File 'lib/keytechKit/elements/search_response_header.rb', line 11 def elementList @elementList end |
#groupBy ⇒ Object
Returns the value of attribute groupBy.
12 13 14 |
# File 'lib/keytechKit/elements/search_response_header.rb', line 12 def groupBy @groupBy end |
#pageNumber ⇒ Object
Returns the value of attribute pageNumber.
8 9 10 |
# File 'lib/keytechKit/elements/search_response_header.rb', line 8 def pageNumber @pageNumber end |
#pageSize ⇒ Object
Returns the value of attribute pageSize.
9 10 11 |
# File 'lib/keytechKit/elements/search_response_header.rb', line 9 def pageSize @pageSize end |
#totalRecords ⇒ Object
Returns the value of attribute totalRecords.
10 11 12 |
# File 'lib/keytechKit/elements/search_response_header.rb', line 10 def totalRecords @totalRecords end |