Class: Eversign::Models::Document

Inherits:
Object
  • Object
show all
Defined in:
lib/eversign/models/document.rb

Direct Known Subclasses

Template

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client


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

def client
  @client
end

#document_hashObject

Returns the value of attribute document_hash


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

def document_hash
  @document_hash
end

#embeddedObject

Returns the value of attribute embedded


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

def embedded
  @embedded
end

#embedded_signing_enabledObject

Returns the value of attribute embedded_signing_enabled


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

def embedded_signing_enabled
  @embedded_signing_enabled
end

#expiresObject

Returns the value of attribute expires


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

def expires
  @expires
end

#fieldsObject

Returns the value of attribute fields


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

def fields
  @fields
end

#filesObject

Returns the value of attribute files


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

def files
  @files
end

#in_personObject

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_archivedObject

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_cancelledObject

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_completedObject

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_deletedObject

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_draftObject

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_templateObject

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_trashedObject

Returns the value of attribute is_trashed


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

def is_trashed
  @is_trashed
end

#messageObject

Returns the value of attribute message


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

def message
  @message
end

#metaObject

Returns the value of attribute meta


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

def meta
  @meta
end

#permissionObject

Returns the value of attribute permission


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

def permission
  @permission
end

#recipientsObject

Returns the value of attribute recipients


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

def recipients
  @recipients
end

#redirectObject

Returns the value of attribute redirect


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

def redirect
  @redirect
end

#redirect_declineObject

Returns the value of attribute redirect_decline


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

def redirect_decline
  @redirect_decline
end

#remindersObject

Returns the value of attribute reminders


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

def reminders
  @reminders
end

#requester_emailObject

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_signersObject

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

#sandboxObject

Returns the value of attribute sandbox


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

def sandbox
  @sandbox
end

#signersObject

Returns the value of attribute signers


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

def signers
  @signers
end

#template_idObject

Returns the value of attribute template_id


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

def template_id
  @template_id
end

#titleObject

Returns the value of attribute title


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

def title
  @title
end

#use_hidden_tagsObject

Returns the value of attribute use_hidden_tags


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

def use_hidden_tags
  @use_hidden_tags
end

#use_signer_orderObject

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(field_list) ⇒ Object


18
19
20
21
# File 'lib/eversign/models/document.rb', line 18

def add_field_list(field_list)
	self.fields ||= []
	self.fields << field_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