Class: Zuora::Calls::QueryMore
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- Zuora::Calls::QueryMore
- Defined in:
- lib/zuora/calls/query_more.rb
Instance Method Summary collapse
-
#initialize(query_locator) ⇒ Zuora::Calls:Query
constructor
After executing a query, often time a query_locator is returned when there are more records than Zuora can respond with in a single response.
- #xml_builder ⇒ Callable
Constructor Details
#initialize(query_locator) ⇒ Zuora::Calls:Query
After executing a query, often time a query_locator is returned when there are more records than Zuora can respond with in a single response. The default batch size is 2000. You can use a combination of query and query_more calls to get large quantities of data.
10 11 12 |
# File 'lib/zuora/calls/query_more.rb', line 10 def initialize(query_locator) @query_locator = query_locator end |
Instance Method Details
#xml_builder ⇒ Callable
15 16 17 18 19 |
# File 'lib/zuora/calls/query_more.rb', line 15 def xml_builder lambda do |builder| builder[:api].queryMore { builder[:api].queryLocator(@query_locator) } end end |