class GatherContent::Api::Accounts

Public Class Methods

new() click to toggle source
# File lib/gather_content/api/accounts.rb, line 6
def initialize; end

Public Instance Methods

each() { |account| ... } click to toggle source
# File lib/gather_content/api/accounts.rb, line 8
def each(&block)
  fetch.each do |account|
    yield GatherContent::Api::Account.new(account['id'], account)
  end
end

Private Instance Methods

params() click to toggle source
# File lib/gather_content/api/accounts.rb, line 16
def params; end
path() click to toggle source
# File lib/gather_content/api/accounts.rb, line 18
def path
  @path ||= '/accounts'
end