Sha256: c2bb6ff80d5aa69e497b947e97b975fc024664aa69d18a9bd448a15011a3aa30

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 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

1 entries across 1 versions & 1 rubygems

Version Path
infopark_reactor_migrations-1.6.1 lib/reactor/cm/channel.rb