class Adparlor::Facebook::GraphApi::User
Public Instance Methods
adaccounts()
click to toggle source
# File lib/adparlor/facebook/graph_api/user.rb, line 9 def adaccounts @adaccounts ||= CollectionProxy.new AdAccount, "/#{id}/adaccounts", access_token end
pages()
click to toggle source
# File lib/adparlor/facebook/graph_api/user.rb, line 13 def pages @pages ||= CollectionProxy.new PageAndPlace, "/#{id}/accounts", access_token end
places()
click to toggle source
# File lib/adparlor/facebook/graph_api/user.rb, line 17 def places @places ||= CollectionProxy.new PageAndPlace, "/#{id}/accounts", access_token, nil, is_place: true end