class Restforce::Collection

def initialize(hash, client)

def initialize(hash, client)
  @client        = client
  @total_size    = hash['totalSize']
  @next_page_url = hash['nextRecordsUrl']
  super(Restforce::Mash.build(hash['records'], @client))
end

def next_page

def next_page
  response = @client.get next_page_url
  response.body
end