Class: KeytechKit::NoteType
- Inherits:
-
Object
- Object
- KeytechKit::NoteType
- Defined in:
- lib/keytechKit/elements/notes/note_type.rb
Overview
A single note
Instance Attribute Summary collapse
-
#allow_modify ⇒ Object
Returns the value of attribute allow_modify.
-
#displaytext ⇒ Object
Returns the value of attribute displaytext.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_document_info ⇒ Object
Returns the value of attribute is_document_info.
-
#is_folder_info ⇒ Object
Returns the value of attribute is_folder_info.
-
#is_masteritem_info ⇒ Object
Returns the value of attribute is_masteritem_info.
-
#is_system_info ⇒ Object
Returns the value of attribute is_system_info.
Instance Method Summary collapse
-
#initialize(data) ⇒ NoteType
constructor
A new instance of NoteType.
Constructor Details
#initialize(data) ⇒ NoteType
Returns a new instance of NoteType.
13 14 15 16 17 18 19 20 21 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 13 def initialize(data) @allow_modify = data['AllowModify'] @displaytext = data['Displaytext'] @id = data['ID'] @is_document_info = data['IsDocumentInfo'] @is_folder_info = data['IsFolderInfo'] @is_document_info = data['IsMasterItemInfo'] @is_system_info = data['IsSystemInfo'] end |
Instance Attribute Details
#allow_modify ⇒ Object
Returns the value of attribute allow_modify.
5 6 7 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 5 def allow_modify @allow_modify end |
#displaytext ⇒ Object
Returns the value of attribute displaytext.
6 7 8 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 6 def displaytext @displaytext end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 7 def id @id end |
#is_document_info ⇒ Object
Returns the value of attribute is_document_info.
8 9 10 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 8 def is_document_info @is_document_info end |
#is_folder_info ⇒ Object
Returns the value of attribute is_folder_info.
9 10 11 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 9 def is_folder_info @is_folder_info end |
#is_masteritem_info ⇒ Object
Returns the value of attribute is_masteritem_info.
10 11 12 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 10 def is_masteritem_info @is_masteritem_info end |
#is_system_info ⇒ Object
Returns the value of attribute is_system_info.
11 12 13 |
# File 'lib/keytechKit/elements/notes/note_type.rb', line 11 def is_system_info @is_system_info end |