lib/recurly/pager.rb in recurly-3.18.1 vs lib/recurly/pager.rb in recurly-3.19.0
- old
+ new
@@ -22,10 +22,10 @@
@data.first
end
# Makes a HEAD request to the API to determine how many total records exist.
def count
- resource = @client.send(:head, self.next, @options)
+ resource = @client.send(:head, self.next, **@options)
resource.get_response.total_records
end
# Enumerates each "page" from the server.
# This method yields a given block with the array of items