2011-07-26 03:00:17 +00:00
|
|
|
Bushido::Data.listen("app.claimed") do |data|
|
2011-07-26 03:13:21 +00:00
|
|
|
puts "Saving #{Account.first.inspect} with incoming data #{data.inspect}"
|
2011-07-26 02:37:23 +00:00
|
|
|
|
|
|
|
account = Account.first
|
|
|
|
account.email = data["email"]
|
|
|
|
account.save
|
|
|
|
end
|