class Restforce::Collection
def each(&block)
def each(&block) @raw_page['records'].each { |record| yield Restforce::Mash.build(record, @client) } np = next_page while np np.current_page.each(&block) np = np.next_page end end
def each(&block) @raw_page['records'].each { |record| yield Restforce::Mash.build(record, @client) } np = next_page while np np.current_page.each(&block) np = np.next_page end end