Class: Facebooker::FriendList
- Inherits:
-
Object
- Object
- Facebooker::FriendList
- Includes:
- Model
- Defined in:
- lib/facebooker/models/friend_list.rb
Overview
A simple representation of a friend list.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#flid=(f) ⇒ Object
We need this to be an integer, so do the conversion.
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/facebooker/models/friend_list.rb', line 7 def name @name end |
Instance Method Details
#flid=(f) ⇒ Object
We need this to be an integer, so do the conversion
12 13 14 |
# File 'lib/facebooker/models/friend_list.rb', line 12 def flid=(f) @flid= ( f.nil? ? nil : f.to_i) end |