Class: FbGraph::Page
- Extended by:
- Searchable
- Includes:
- Connections::Albums, Connections::Events, Connections::Feed, Connections::Groups, Connections::Links, Connections::Notes, Connections::Photos, Connections::Picture, Connections::Posts, Connections::Statuses, Connections::Tagged, Connections::Videos
- Defined in:
- lib/fb_graph/page.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Node
#access_token, #endpoint, #identifier
Instance Method Summary collapse
-
#initialize(identifier, options = {}) ⇒ Page
constructor
A new instance of Page.
Methods included from Searchable
Methods included from Connections::Events
Methods included from Connections::Posts
Methods included from Connections::Notes
Methods included from Connections::Videos
Methods included from Connections::Statuses
Methods included from Connections::Albums
Methods included from Connections::Groups
Methods included from Connections::Photos
Methods included from Connections::Links
Methods included from Connections::Tagged
Methods included from Connections::Picture
Methods included from Connections::Feed
Methods inherited from Node
#connection, #destroy, fetch, #fetch
Methods included from Comparison
Constructor Details
#initialize(identifier, options = {}) ⇒ Page
Returns a new instance of Page.
19 20 21 22 23 |
# File 'lib/fb_graph/page.rb', line 19 def initialize(identifier, = {}) super @name = [:name] @category = [:category] end |
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
17 18 19 |
# File 'lib/fb_graph/page.rb', line 17 def category @category end |
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/fb_graph/page.rb', line 17 def name @name end |