Sha256: 6af101a378663b1f56e660f685b7c581eb08be7eec4ff77190a50cd643db8830

Contents?: true

Size: 200 Bytes

Versions: 3

Compression:

Stored size: 200 Bytes

Contents

class User < ActiveRecord::Base
  self.table_name = 'users'
  include Yaps::Publisher
  include Yaps::Subscriber
  subscribe :user_created, with: :receiver
  published


  def receiver user
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yaps-0.1.0 spec/supports/user.rb
yaps-0.0.2 spec/supports/user.rb
yaps-0.0.1 spec/supports/user.rb