Class: FbGraph::Application
- Includes:
- Connections::Albums, Connections::Events, Connections::Feed, Connections::Insights, Connections::Links, Connections::Notes, Connections::Payments, Connections::Photos, Connections::Picture, Connections::Posts, Connections::Statuses, Connections::Subscriptions, Connections::Tagged, Connections::TestUsers, Connections::Videos
- Defined in:
- lib/fb_graph/application.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#description ⇒ Object
Returns the value of attribute description.
-
#link ⇒ Object
Returns the value of attribute link.
-
#name ⇒ Object
Returns the value of attribute name.
-
#secret ⇒ Object
Returns the value of attribute secret.
Attributes inherited from Node
#access_token, #endpoint, #identifier
Instance Method Summary collapse
- #get_access_token(secret = nil) ⇒ Object
-
#initialize(client_id, attributes = {}) ⇒ Application
constructor
A new instance of Application.
Methods included from Connections::Videos
Methods included from Connections::TestUsers
Methods included from Connections::Tagged
Methods included from Connections::Subscriptions
#subscribe!, #subscriptions, #unsubscribe!
Methods included from Connections::Statuses
Methods included from Connections::Posts
Methods included from Connections::Picture
Methods included from Connections::Photos
Methods included from Connections::Payments
Methods included from Connections::Notes
Methods included from Connections::Links
Methods included from Connections::Insights
Methods included from Connections::Feed
Methods included from Connections::Events
Methods included from Connections::Albums
Methods inherited from Node
#connection, #destroy, fetch, #fetch, #update
Methods included from Comparison
Constructor Details
#initialize(client_id, attributes = {}) ⇒ Application
Returns a new instance of Application.
21 22 23 24 25 26 27 28 |
# File 'lib/fb_graph/application.rb', line 21 def initialize(client_id, attributes = {}) super @name = attributes[:name] @description = attributes[:description] @category = attributes[:category] @link = attributes[:link] @secret = attributes[:secret] end |
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
19 20 21 |
# File 'lib/fb_graph/application.rb', line 19 def category @category end |
#description ⇒ Object
Returns the value of attribute description.
19 20 21 |
# File 'lib/fb_graph/application.rb', line 19 def description @description end |
#link ⇒ Object
Returns the value of attribute link.
19 20 21 |
# File 'lib/fb_graph/application.rb', line 19 def link @link end |
#name ⇒ Object
Returns the value of attribute name.
19 20 21 |
# File 'lib/fb_graph/application.rb', line 19 def name @name end |
#secret ⇒ Object
Returns the value of attribute secret.
19 20 21 |
# File 'lib/fb_graph/application.rb', line 19 def secret @secret end |