8 lines
194 B
Ruby
8 lines
194 B
Ruby
Bushido::Data.listen("app.claimed") do |data|
|
|
puts "Saving #{account.inspect} with incoming data #{data.inspect}"
|
|
|
|
account = Account.first
|
|
account.email = data["email"]
|
|
account.save
|
|
end
|