Class: FbGraph::Page

Instance Attribute Summary collapse

Attributes inherited from Node

#access_token, #endpoint, #identifier

Instance Method Summary collapse

Methods included from Searchable

search, search

Methods included from Connections::Events

#event!, #events

Methods included from Connections::Posts

#posts

Methods included from Connections::Notes

#note!, #notes

Methods included from Connections::Videos

#videos

Methods included from Connections::Statuses

#statuses

Methods included from Connections::Albums

#album!, #albums

Methods included from Connections::Groups

#groups

Methods included from Connections::Photos

#photo!, #photos

Methods included from Connections::Links

#link!, #links

Methods included from Connections::Tagged

#tagged

Methods included from Connections::Picture

#picture

Methods included from Connections::Feed

#feed, #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, options = {})
  super
  @name     = options[:name]
  @category = options[:category]
end

Instance Attribute Details

#categoryObject

Returns the value of attribute category.



17
18
19
# File 'lib/fb_graph/page.rb', line 17

def category
  @category
end

#nameObject

Returns the value of attribute name.



17
18
19
# File 'lib/fb_graph/page.rb', line 17

def name
  @name
end