Sha256: b6e145a9b3be47ab441c73435cda2e52dcbfabe9f178682725084c20e1d9951c

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

class NonPusherableModel < ActiveRecord::Base
end

class DefaultedPusherableModel < ActiveRecord::Base
  pusherable
end

class PusherableModel < ActiveRecord::Base
  pusherable("our_channel")
end

class CallablePusherableModel < ActiveRecord::Base
  pusherable ->(o) { "lambda_channel#{o.name if o}" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pusherable-1.3.0 spec/support/models/sqlite.rb
pusherable-1.2.3 spec/support/models/sqlite.rb
pusherable-1.2.2 spec/support/models/sqlite.rb
pusherable-1.2.1 spec/support/models/sqlite.rb