Class: FbGraph::FriendList
- Includes:
- Connections::Members
- Defined in:
- lib/fb_graph/friend_list.rb
Instance Attribute Summary collapse
-
#list_type ⇒ Object
Returns the value of attribute list_type.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Node
#access_token, #endpoint, #identifier, #raw_attributes
Instance Method Summary collapse
-
#initialize(identifier, attributes = {}) ⇒ FriendList
constructor
A new instance of FriendList.
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_type ⇒ Object
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 |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/fb_graph/friend_list.rb', line 5 def name @name end |