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