Class: GDocsMigration::Model::Document
- Inherits:
-
Object
- Object
- GDocsMigration::Model::Document
- Defined in:
- lib/gdocs-migration/models/document.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type_p) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(type_p) ⇒ Document
Returns a new instance of Document.
28 29 30 |
# File 'lib/gdocs-migration/models/document.rb', line 28 def initialize(type_p) @type = type_p end |
Instance Attribute Details
#title ⇒ Object
Returns the value of attribute title.
25 26 27 |
# File 'lib/gdocs-migration/models/document.rb', line 25 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
26 27 28 |
# File 'lib/gdocs-migration/models/document.rb', line 26 def type @type end |