Class: Docusign::Document
- Inherits:
-
Object
- Object
- Docusign::Document
- Defined in:
- lib/docusign/docusign.rb,
lib/docusign/document.rb
Overview
http://www.docusign.net/API/3.0Document
iD - SOAP::SOAPPositiveInteger
name - SOAP::SOAPString
pDFBytes - SOAP::SOAPBase64
password - SOAP::SOAPString
transformPdfFields - SOAP::SOAPBoolean
fileExtension - SOAP::SOAPString
matchBoxes - Docusign::ArrayOfMatchBox
- SOAP::SOAPString
Instance Attribute Summary collapse
-
#attachmentDescription ⇒ Object
Returns the value of attribute attachmentDescription.
-
#fileExtension ⇒ Object
Returns the value of attribute fileExtension.
-
#iD ⇒ Object
Returns the value of attribute iD.
-
#matchBoxes ⇒ Object
Returns the value of attribute matchBoxes.
-
#name ⇒ Object
Returns the value of attribute name.
-
#password ⇒ Object
Returns the value of attribute password.
-
#pDFBytes ⇒ Object
Returns the value of attribute pDFBytes.
- #tab_builder ⇒ Object
-
#tabs(recipient = nil, &block) ⇒ Object
Returns the value of attribute tabs.
-
#transformPdfFields ⇒ Object
Returns the value of attribute transformPdfFields.
Instance Method Summary collapse
-
#initialize(iD = nil, name = nil, pDFBytes = nil, password = nil, transformPdfFields = nil, fileExtension = nil, matchBoxes = nil, attachmentDescription = nil) ⇒ Document
constructor
A new instance of Document.
- #tab(options = {}, &block) ⇒ Object
Constructor Details
#initialize(iD = nil, name = nil, pDFBytes = nil, password = nil, transformPdfFields = nil, fileExtension = nil, matchBoxes = nil, attachmentDescription = nil) ⇒ Document
Returns a new instance of Document.
96 97 98 99 100 101 102 103 104 105 |
# File 'lib/docusign/docusign.rb', line 96 def initialize(iD = nil, name = nil, pDFBytes = nil, password = nil, transformPdfFields = nil, fileExtension = nil, matchBoxes = nil, = nil) @iD = iD @name = name @pDFBytes = pDFBytes @password = password @transformPdfFields = transformPdfFields @fileExtension = fileExtension @matchBoxes = matchBoxes @attachmentDescription = end |
Instance Attribute Details
#attachmentDescription ⇒ Object
Returns the value of attribute attachmentDescription.
94 95 96 |
# File 'lib/docusign/docusign.rb', line 94 def @attachmentDescription end |
#fileExtension ⇒ Object
Returns the value of attribute fileExtension.
92 93 94 |
# File 'lib/docusign/docusign.rb', line 92 def fileExtension @fileExtension end |
#iD ⇒ Object
Returns the value of attribute iD.
87 88 89 |
# File 'lib/docusign/docusign.rb', line 87 def iD @iD end |
#matchBoxes ⇒ Object
Returns the value of attribute matchBoxes.
93 94 95 |
# File 'lib/docusign/docusign.rb', line 93 def matchBoxes @matchBoxes end |
#name ⇒ Object
Returns the value of attribute name.
88 89 90 |
# File 'lib/docusign/docusign.rb', line 88 def name @name end |
#password ⇒ Object
Returns the value of attribute password.
90 91 92 |
# File 'lib/docusign/docusign.rb', line 90 def password @password end |
#pDFBytes ⇒ Object
Returns the value of attribute pDFBytes.
89 90 91 |
# File 'lib/docusign/docusign.rb', line 89 def pDFBytes @pDFBytes end |
#tab_builder ⇒ Object
26 27 28 |
# File 'lib/docusign/document.rb', line 26 def tab_builder @tab_builder ||= Docusign::Builder::TabBuilder.new(self) end |
#tabs(recipient = nil, &block) ⇒ Object
Returns the value of attribute tabs.
5 6 7 |
# File 'lib/docusign/document.rb', line 5 def tabs @tabs end |
#transformPdfFields ⇒ Object
Returns the value of attribute transformPdfFields.
91 92 93 |
# File 'lib/docusign/docusign.rb', line 91 def transformPdfFields @transformPdfFields end |
Instance Method Details
#tab(options = {}, &block) ⇒ Object
20 21 22 23 24 |
# File 'lib/docusign/document.rb', line 20 def tab( = {}, &block) returning tab_builder.build(, &block) do |t| tabs << t end end |