Created
April 2, 2009 11:23
-
-
Save parolkar/89143 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User < ActiveRecord::Base | |
has_profile_items [:first_name] | |
#has_pfeed_bucket | |
def buy(x) | |
puts "buying" | |
end | |
def sell(x) | |
puts "selling" | |
end | |
def do_required_job(x) | |
puts "doing required job" | |
end | |
def find_friends | |
puts "finding friends" | |
end | |
emits_pfeeds_for [:buy,:sell,:do_required_job,:find_friends] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment