Sha256: 30b14ba5febe829ad476b7fa709df488e774d439b544171e9953d1e05dfde072

Contents?: true

Size: 518 Bytes

Versions: 14

Compression:

Stored size: 518 Bytes

Contents

module Zena
  module Status
    # Redaction (initial state of an element)
    Red      = 70
    # Proposed along with another node (images/documents in the node)
    PropWith = 65
    # Proposed for publication
    Prop     = 60
    # Published
    Pub      = 50
    # Replaced (a new publication takes over)
    Rep      = 20
    # Removed (unpublished by hand)
    Rem      = 10
    # Deleted (not used)
    Del      = 0

    def self.[](key)
      self.const_get(key.to_s.camelize)
    end
  end # Status
end # Zena

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
zena-1.2.8 lib/zena/status.rb
zena-1.2.7 lib/zena/status.rb
zena-1.2.6 lib/zena/status.rb
zena-1.2.5 lib/zena/status.rb
zena-1.2.4 lib/zena/status.rb
zena-1.2.3 lib/zena/status.rb
zena-1.2.2 lib/zena/status.rb
zena-1.2.1 lib/zena/status.rb
zena-1.2.0 lib/zena/status.rb
zena-1.1.3 lib/zena/status.rb
zena-1.1.2 lib/zena/status.rb
zena-1.1.1 lib/zena/status.rb
zena-1.1.0 lib/zena/status.rb
zena-1.0.0 lib/zena/status.rb