Module: FbGraph2::Edge::Accounts

Included in:
User
Defined in:
lib/fb_graph2/edge/accounts.rb

Instance Method Summary collapse

Instance Method Details

#accounts(params = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/accounts.rb', line 4

def accounts(params = {})
  pages = self.edge :accounts, params
  pages.collect! do |page|
    Page.new(page[:id], page).authenticate page[:access_token]
  end
end