Class: FbGraph2::App

Instance Attribute Summary

Attributes inherited from Node

#access_token, #id, #raw_attributes

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Edge::Translations

#translation!, #translations

Methods included from Edge::TestUsers

#test_users

Methods included from Edge::Subscriptions

#subscriptions

Methods included from Edge::StaticResources

#static_resources

Methods included from Edge::Scores

#scores

Methods included from Edge::Roles

#roles

Methods included from Edge::Picture

#picture

Methods included from Edge::Groups

#groups

Methods included from Edge::Banned

#ban!, #banned, #banned?, #unban!

Methods included from Edge::AppEventTypes

#app_event_types

Methods included from Edge::AppLinkHosts

#app_link_hosts

Methods included from Edge::Achievements

#achievements

Methods inherited from Node

#authenticate, #destroy, #edge, #edges, fetch, #fetch, inherited, #update

Constructor Details

#initialize(id, attributes = {}) ⇒ App



35
36
37
38
# File 'lib/fb_graph2/app.rb', line 35

def initialize(id, attributes = {})
  super
  # TODO: handle custom attributes.
end

Class Method Details

.app(access_token) ⇒ Object



40
41
42
# File 'lib/fb_graph2/app.rb', line 40

def self.app(access_token)
  new(:app).authenticate access_token
end