Class: Document

Inherits:
BaseFile show all
Defined in:
lib/dynalist/document.rb

Constant Summary

Constants inherited from BaseFile

BaseFile::PERMISSION

Instance Attribute Summary

Attributes inherited from BaseFile

#id, #title, #type

Instance Method Summary collapse

Methods inherited from BaseFile

#include, #permission

Constructor Details

#initialize(id: nil, title: nil, type: nil, permission: nil) ⇒ Document

Returns a new instance of Document.



4
5
6
# File 'lib/dynalist/document.rb', line 4

def initialize(id: nil, title: nil, type: nil, permission: nil)
  super(id: id, title: title, type: 'document', permission: permission)
end