Class: FbGraph::FriendList
- Includes:
- Connections::Members
- Defined in:
- lib/fb_graph/friend_list.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Node
#access_token, #endpoint, #identifier
Instance Method Summary collapse
-
#initialize(identifier, attributes = {}) ⇒ FriendList
constructor
A new instance of FriendList.
Methods included from Connections::Members
Methods inherited from Node
#connection, #destroy, fetch, #fetch
Methods included from Comparison
Constructor Details
#initialize(identifier, attributes = {}) ⇒ FriendList
Returns a new instance of FriendList.
7 8 9 10 |
# File 'lib/fb_graph/friend_list.rb', line 7 def initialize(identifier, attributes = {}) super @name = attributes[:name] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/fb_graph/friend_list.rb', line 5 def name @name end |