Class: Docusign::Document

Inherits:
Object
  • Object
show all
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
attachmentDescription - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

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, attachmentDescription = nil)
  @iD = iD
  @name = name
  @pDFBytes = pDFBytes
  @password = password
  @transformPdfFields = transformPdfFields
  @fileExtension = fileExtension
  @matchBoxes = matchBoxes
  @attachmentDescription = attachmentDescription
end

Instance Attribute Details

#attachmentDescriptionObject

Returns the value of attribute attachmentDescription.



94
95
96
# File 'lib/docusign/docusign.rb', line 94

def attachmentDescription
  @attachmentDescription
end

#fileExtensionObject

Returns the value of attribute fileExtension.



92
93
94
# File 'lib/docusign/docusign.rb', line 92

def fileExtension
  @fileExtension
end

#iDObject

Returns the value of attribute iD.



87
88
89
# File 'lib/docusign/docusign.rb', line 87

def iD
  @iD
end

#matchBoxesObject

Returns the value of attribute matchBoxes.



93
94
95
# File 'lib/docusign/docusign.rb', line 93

def matchBoxes
  @matchBoxes
end

#nameObject

Returns the value of attribute name.



88
89
90
# File 'lib/docusign/docusign.rb', line 88

def name
  @name
end

#passwordObject

Returns the value of attribute password.



90
91
92
# File 'lib/docusign/docusign.rb', line 90

def password
  @password
end

#pDFBytesObject

Returns the value of attribute pDFBytes.



89
90
91
# File 'lib/docusign/docusign.rb', line 89

def pDFBytes
  @pDFBytes
end

#tab_builderObject



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

#transformPdfFieldsObject

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(options = {}, &block)
  returning tab_builder.build(options, &block) do |t|
    tabs << t
  end
end