Class FacebookFriend
In: facebook_bot/facebook_friend.rb
Parent: Object

This is the FacebookFriend class. It is a simple class that just holds friend information. You should be simple, too. Being simple, you should have nothing to do with this class.. besides create friends with it if you so desire. These friends are no substitutes for friends in real life

Methods

new  

Attributes

id  [RW] 
name  [RW] 
network_domain  [RW] 

Public Class methods

Creates a facebook friend given three strings: id, name, network_domain.

  fb_friend = FacebookFriend.new('3923939', 'Mark Zuckerberg', 'harvard.facebookcom')

[Source]

    # File facebook_bot/facebook_friend.rb, line 14
14:   def initialize(id, name, network_domain)
15:     @id = id
16:     @name = name
17:     @network_domain = network_domain
18:   end

[Validate]