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