Class: FbGraph::FriendList

Inherits:
Node
  • Object
show all
Includes:
Connections::Members
Defined in:
lib/fb_graph/friend_list.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#access_token, #endpoint, #identifier

Instance Method Summary collapse

Methods included from Connections::Members

#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

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/fb_graph/friend_list.rb', line 5

def name
  @name
end