Class: Infopark::Crm::Core::Enumerator
- Inherits:
-
Enumerator
- Object
- Enumerator
- Infopark::Crm::Core::Enumerator
- Defined in:
- lib/crm_connector/core/enumerator.rb
Overview
Transparent wrapper for the web services continuation ability
Instance Method Summary collapse
-
#size ⇒ Integer
The total count given by the last search response, if available.
-
#within_limit ⇒ Array
The results of the last response as an array.
Instance Method Details
#size ⇒ Integer
The total count given by the last search response, if available. If not available this method is undefined.
|
# File 'lib/crm_connector/core/enumerator.rb', line 28
|
#within_limit ⇒ Array
The results of the last response as an array. The size of the array is less than or equal to the limit
parameter value.
24 25 26 |
# File 'lib/crm_connector/core/enumerator.rb', line 24 def within_limit @collection.to_a end |