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
id | [RW] | |
name | [RW] | |
network_domain | [RW] |
Creates a facebook friend given three strings: id, name, network_domain.
fb_friend = FacebookFriend.new('3923939', 'Mark Zuckerberg', 'harvard.facebookcom')
# 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