engine/lib/locomotive/hosting/bushido/hooks.rb

8 lines
195 B
Ruby
Raw Normal View History

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