class FbGraph2::App
Public Class Methods
app(access_token)
click to toggle source
# File lib/fb_graph2/app.rb, line 47 def self.app(access_token) new(:app).authenticate access_token end
new(id, attributes = {})
click to toggle source
Calls superclass method
# File lib/fb_graph2/app.rb, line 39 def initialize(id, attributes = {}) super if attributes.include? :context self.context = Struct::Context::AppContext.new attributes[:context] end # TODO: handle custom attributes. end