Sha256: 083bca0a735219235b05495384f1e3d5c26197a8c96516425313d2bbc91be3f9

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

module ActsAsNotifiableRedmine
  class Event

    attr_reader :name, :sticky
    alias :sticky? :sticky

    def initialize(id, options = {})
      @id     = id.to_sym
      @name   = @id
      @sticky = options[:sticky] || false
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_notifiable_redmine-0.1.1 lib/acts_as_notifiable_redmine/event.rb
acts_as_notifiable_redmine-0.1 lib/acts_as_notifiable_redmine/event.rb