Method: CmisServer::DocumentType#initialize
- Defined in:
- lib/cmis_server/document_type.rb
#initialize(attrs = {}) ⇒ DocumentType
notallowed A content stream MUST NOT be included.
allowed
A content stream MAY be included.
required
A content stream MUST be included (i.e. MUST be included when the object is created, and MUST NOT be deleted).
13 14 15 16 17 |
# File 'lib/cmis_server/document_type.rb', line 13 def initialize(attrs={}) @versionable = attrs.fetch(:versionable, false) @content_stream_allowed = attrs.fetch(:content_stream_allowed, :allowed) super end |