Sha256: 71d50e67e5d196a1b589f78703060743d145593260d5da3f85f4fe45a08e8106

Contents?: true

Size: 368 Bytes

Versions: 18

Compression:

Stored size: 368 Bytes

Contents

module Udongo
  module Configs
    class Tags
      include Virtus.model

      attribute :allow_new, Axiom::Types::Boolean, default: true
      attribute :editor_for_summary, Axiom::Types::Boolean, default: false

      def allow_new?
        allow_new === true
      end

      def editor_for_summary?
        editor_for_summary === true
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
udongo-7.9.0 lib/udongo/configs/tags.rb
udongo-7.8.1 lib/udongo/configs/tags.rb
udongo-7.8.0 lib/udongo/configs/tags.rb
udongo-7.7.2 lib/udongo/configs/tags.rb
udongo-7.7.1 lib/udongo/configs/tags.rb
udongo-7.7.0 lib/udongo/configs/tags.rb
udongo-7.6.2 lib/udongo/configs/tags.rb
udongo-7.6.1 lib/udongo/configs/tags.rb
udongo-7.6.0 lib/udongo/configs/tags.rb
udongo-7.5.1 lib/udongo/configs/tags.rb
udongo-7.5.0 lib/udongo/configs/tags.rb
udongo-7.4.2 lib/udongo/configs/tags.rb
udongo-7.4.1 lib/udongo/configs/tags.rb
udongo-7.4.0 lib/udongo/configs/tags.rb
udongo-7.3.5 lib/udongo/configs/tags.rb
udongo-7.3.4 lib/udongo/configs/tags.rb
udongo-7.3.3 lib/udongo/configs/tags.rb
udongo-7.3.2 lib/udongo/configs/tags.rb