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, #raw_attributes

Instance Method Summary collapse

Methods included from Connections::Members

#member!, #members, #unmember!

Methods inherited from Node

#connection, #destroy, fetch, #fetch, #update

Methods included from Comparison

#==

Constructor Details

#initialize(identifier, attributes = {}) ⇒ FriendList

Returns a new instance of FriendList.



7
8
9
10
11
# File 'lib/fb_graph/friend_list.rb', line 7

def initialize(identifier, attributes = {})
  super
  @name = attributes[:name]
  @list_type = attributes[:list_type]
end

Instance Attribute Details

#list_typeObject

Returns the value of attribute list_type.



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

def list_type
  @list_type
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end