Class: Eversign::Models::Document
- Inherits:
-
Object
- Object
- Eversign::Models::Document
- Defined in:
- lib/eversign/models/document.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#document_hash ⇒ Object
Returns the value of attribute document_hash.
-
#embedded ⇒ Object
Returns the value of attribute embedded.
-
#embedded_signing_enabled ⇒ Object
Returns the value of attribute embedded_signing_enabled.
-
#expires ⇒ Object
Returns the value of attribute expires.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#files ⇒ Object
Returns the value of attribute files.
-
#in_person ⇒ Object
Returns the value of attribute in_person.
-
#is_archived ⇒ Object
Returns the value of attribute is_archived.
-
#is_cancelled ⇒ Object
Returns the value of attribute is_cancelled.
-
#is_completed ⇒ Object
Returns the value of attribute is_completed.
-
#is_deleted ⇒ Object
Returns the value of attribute is_deleted.
-
#is_draft ⇒ Object
Returns the value of attribute is_draft.
-
#is_template ⇒ Object
Returns the value of attribute is_template.
-
#is_trashed ⇒ Object
Returns the value of attribute is_trashed.
-
#message ⇒ Object
Returns the value of attribute message.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#permission ⇒ Object
Returns the value of attribute permission.
-
#recipients ⇒ Object
Returns the value of attribute recipients.
-
#redirect ⇒ Object
Returns the value of attribute redirect.
-
#redirect_decline ⇒ Object
Returns the value of attribute redirect_decline.
-
#reminders ⇒ Object
Returns the value of attribute reminders.
-
#requester_email ⇒ Object
Returns the value of attribute requester_email.
-
#require_all_signers ⇒ Object
Returns the value of attribute require_all_signers.
-
#sandbox ⇒ Object
Returns the value of attribute sandbox.
-
#signers ⇒ Object
Returns the value of attribute signers.
-
#template_id ⇒ Object
Returns the value of attribute template_id.
-
#title ⇒ Object
Returns the value of attribute title.
-
#use_signer_order ⇒ Object
Returns the value of attribute use_signer_order.
Instance Method Summary collapse
- #add_field(field) ⇒ Object
- #add_field_list(feild_list) ⇒ Object
- #add_file(file) ⇒ Object
- #add_recipient(recipient) ⇒ Object
- #add_signer(signer) ⇒ Object
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def client @client end |
#document_hash ⇒ Object
Returns the value of attribute document_hash.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def document_hash @document_hash end |
#embedded ⇒ Object
Returns the value of attribute embedded.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def @embedded end |
#embedded_signing_enabled ⇒ Object
Returns the value of attribute embedded_signing_enabled.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def @embedded_signing_enabled end |
#expires ⇒ Object
Returns the value of attribute expires.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def expires @expires end |
#fields ⇒ Object
Returns the value of attribute fields.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def fields @fields end |
#files ⇒ Object
Returns the value of attribute files.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def files @files end |
#in_person ⇒ Object
Returns the value of attribute in_person.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def in_person @in_person end |
#is_archived ⇒ Object
Returns the value of attribute is_archived.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def is_archived @is_archived end |
#is_cancelled ⇒ Object
Returns the value of attribute is_cancelled.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def is_cancelled @is_cancelled end |
#is_completed ⇒ Object
Returns the value of attribute is_completed.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def is_completed @is_completed end |
#is_deleted ⇒ Object
Returns the value of attribute is_deleted.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def is_deleted @is_deleted end |
#is_draft ⇒ Object
Returns the value of attribute is_draft.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def is_draft @is_draft end |
#is_template ⇒ Object
Returns the value of attribute is_template.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def is_template @is_template end |
#is_trashed ⇒ Object
Returns the value of attribute is_trashed.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def is_trashed @is_trashed end |
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def @message end |
#meta ⇒ Object
Returns the value of attribute meta.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def @meta end |
#permission ⇒ Object
Returns the value of attribute permission.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def @permission end |
#recipients ⇒ Object
Returns the value of attribute recipients.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def recipients @recipients end |
#redirect ⇒ Object
Returns the value of attribute redirect.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def redirect @redirect end |
#redirect_decline ⇒ Object
Returns the value of attribute redirect_decline.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def redirect_decline @redirect_decline end |
#reminders ⇒ Object
Returns the value of attribute reminders.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def reminders @reminders end |
#requester_email ⇒ Object
Returns the value of attribute requester_email.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def requester_email @requester_email end |
#require_all_signers ⇒ Object
Returns the value of attribute require_all_signers.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def require_all_signers @require_all_signers end |
#sandbox ⇒ Object
Returns the value of attribute sandbox.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def sandbox @sandbox end |
#signers ⇒ Object
Returns the value of attribute signers.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def signers @signers end |
#template_id ⇒ Object
Returns the value of attribute template_id.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def template_id @template_id end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def title @title end |
#use_signer_order ⇒ Object
Returns the value of attribute use_signer_order.
4 5 6 |
# File 'lib/eversign/models/document.rb', line 4 def use_signer_order @use_signer_order end |
Instance Method Details
#add_field(field) ⇒ Object
14 15 16 |
# File 'lib/eversign/models/document.rb', line 14 def add_field(field) add_field_list([field]) end |
#add_field_list(feild_list) ⇒ Object
18 19 20 21 |
# File 'lib/eversign/models/document.rb', line 18 def add_field_list(feild_list) self.fields ||= [] self.fields << feild_list end |
#add_file(file) ⇒ Object
9 10 11 12 |
# File 'lib/eversign/models/document.rb', line 9 def add_file(file) self.files ||= [] self.files << file end |
#add_recipient(recipient) ⇒ Object
23 24 25 26 |
# File 'lib/eversign/models/document.rb', line 23 def add_recipient(recipient) self.recipients ||= [] self.recipients << recipient end |
#add_signer(signer) ⇒ Object
28 29 30 31 |
# File 'lib/eversign/models/document.rb', line 28 def add_signer(signer) self.signers ||= [] self.signers << signer end |