Sha256: eb08977d61e73fa948b5f0c6ab011b20749a7678682f74844a065395ad7607f9
Contents?: true
Size: 208 Bytes
Versions: 4
Compression:
Stored size: 208 Bytes
Contents
class UntiedUserObserver < Untied::Consumer::Observer observe :user, :from => :goliath def after_create(payload) puts "Creating user" User.create(payload.fetch(:user, {}).slice(:name)) end end
Version data entries
4 entries across 4 versions & 1 rubygems