Sha256: f661fda5b81af0400918cd78a6360bc09305341bd8484dd4e47434723e17084b
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
class MongoidNonPusherableModel include Mongoid::Document end class MongoidDefaultedPusherableModel include Mongoid::Document pusherable end class MongoidPusherableModel include Mongoid::Document pusherable("our_channel") end class MongoidCallablePusherableModel include Mongoid::Document field :name, type: String pusherable ->(o) { "lambda_channel#{o.name if o}" } end
Version data entries
4 entries across 4 versions & 1 rubygems