Class: ProntoForms::Document
- Defined in:
- lib/prontoforms/document.rb
Overview
A Document is a configuration that generates output data or files when attached to a form.
Instance Attribute Summary
Attributes inherited from Resource
Class Method Summary collapse
Instance Method Summary collapse
-
#auto_link ⇒ String
(also: #auto_link?)
Whether the document auto-links to new forms.
-
#description ⇒ String
Document descriptiojn.
-
#form_document_version ⇒ String
Document form version.
-
#id ⇒ String
The Document identifier.
-
#name ⇒ String
Document name.
-
#standard ⇒ Boolean
(also: #standard?)
Whether the document is standard (system generated).
-
#type ⇒ String
Document type.
Methods inherited from Resource
#initialize, property, #resource_name
Constructor Details
This class inherits a constructor from ProntoForms::Resource
Class Method Details
.resource_name ⇒ Object
9 10 11 |
# File 'lib/prontoforms/document.rb', line 9 def self.resource_name 'documents' end |
Instance Method Details
#auto_link ⇒ String Also known as: auto_link?
Returns Whether the document auto-links to new forms.
26 |
# File 'lib/prontoforms/document.rb', line 26 property :auto_link, key: 'autoLink' |
#description ⇒ String
Returns Document descriptiojn.
20 |
# File 'lib/prontoforms/document.rb', line 20 property :description, key: 'description' |
#form_document_version ⇒ String
Returns Document form version.
22 |
# File 'lib/prontoforms/document.rb', line 22 property :form_document_version, key: 'formDocumentVersion' |
#id ⇒ String
Returns The Document identifier.
14 |
# File 'lib/prontoforms/document.rb', line 14 property :id, key: 'identifier' |
#name ⇒ String
Returns Document name.
18 |
# File 'lib/prontoforms/document.rb', line 18 property :name, key: 'name' |
#standard ⇒ Boolean Also known as: standard?
Returns Whether the document is standard (system generated).
24 |
# File 'lib/prontoforms/document.rb', line 24 property :standard, key: 'standard' |
#type ⇒ String
Returns Document type.
16 |
# File 'lib/prontoforms/document.rb', line 16 property :type, key: 'type' |