Sha256: 0aa0f814fd06d68806e0eaa6af6f3de7ba84bd8511ec305c64cba43f31822f6a

Contents?: true

Size: 301 Bytes

Versions: 8

Compression:

Stored size: 301 Bytes

Contents

require "reactor/cm/object_base"

module Reactor
  module Cm
    class Channel < ObjectBase
      # Attribute definitions
      attribute :name, except: [:set]
      attribute :title

      primary_key :name

      def self.create(name)
        super(name, { name: name })
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
infopark_reactor-1.29.1 lib/reactor/cm/channel.rb
infopark_reactor-1.29.0 lib/reactor/cm/channel.rb
infopark_reactor-1.28.0 lib/reactor/cm/channel.rb
infopark_reactor-1.27.0.rc10 lib/reactor/cm/channel.rb
infopark_reactor-1.27.0.rc9 lib/reactor/cm/channel.rb
infopark_reactor-1.27.0.rc8 lib/reactor/cm/channel.rb
infopark_reactor-1.27.0.rc7 lib/reactor/cm/channel.rb
infopark_reactor-1.27.0.rc4 lib/reactor/cm/channel.rb