Class: Facebooker::FriendList

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/facebooker/models/friend_list.rb

Overview

A simple representation of a friend list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model

#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session

Instance Attribute Details

#nameObject

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