Method: Restforce::Collection#initialize

Defined in:
lib/restforce/collection.rb

#initialize(hash, client) ⇒ Collection

Given a hash and client, will create an Enumerator that will lazily request Salesforce for the next page of results.

[View source]

9
10
11
12
# File 'lib/restforce/collection.rb', line 9

def initialize(hash, client)
  @client = client
  @raw_page = hash
end