Class: GatherContent::Api::Accounts

Inherits:
Base
  • Object
show all
Includes:
Enumerable
Defined in:
lib/gather_content/api/accounts.rb

Instance Method Summary collapse

Methods inherited from Base

#fetch, #get, #post, #post_json, #reset

Constructor Details

#initializeAccounts

Returns a new instance of Accounts.



6
# File 'lib/gather_content/api/accounts.rb', line 6

def initialize; end

Instance Method Details

#each(&block) ⇒ Object



8
9
10
11
12
# File 'lib/gather_content/api/accounts.rb', line 8

def each(&block)
  fetch.each do ||
    yield GatherContent::Api::Account.new(['id'], )
  end
end