@@ -95,38 +95,38 @@ def make_web_forms_template
9595 # Create a sign_here tab (field on the document)
9696 sign_here = DocuSign_eSign ::SignHere . new (
9797 'documentId' => '1' , 'tabLabel' => 'Signature' ,
98- 'anchorString' => '/SignHere/' , 'anchorUnits' => 'pixel ' ,
99- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
98+ 'anchorString' => '/SignHere/' , 'anchorUnits' => 'pixels ' ,
99+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
100100 )
101101 check = DocuSign_eSign ::Checkbox . new (
102102 'documentId' => '1' , 'tabLabel' => 'Yes' ,
103- 'anchorString' => '/SMS/' , 'anchorUnits' => 'pixel ' ,
104- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
103+ 'anchorString' => '/SMS/' , 'anchorUnits' => 'pixels ' ,
104+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
105105 )
106106 text1 = DocuSign_eSign ::Text . new (
107107 'documentId' => '1' , 'tabLabel' => 'FullName' ,
108- 'anchorString' => '/FullName/' , 'anchorUnits' => 'pixel ' ,
109- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
108+ 'anchorString' => '/FullName/' , 'anchorUnits' => 'pixels ' ,
109+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
110110 )
111111 text2 = DocuSign_eSign ::Text . new (
112112 'documentId' => '1' , 'tabLabel' => 'PhoneNumber' ,
113- 'anchorString' => '/PhoneNumber/' , 'anchorUnits' => 'pixel ' ,
114- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
113+ 'anchorString' => '/PhoneNumber/' , 'anchorUnits' => 'pixels ' ,
114+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
115115 )
116116 text3 = DocuSign_eSign ::Text . new (
117117 'documentId' => '1' , 'tabLabel' => 'Company' ,
118- 'anchorString' => '/Company/' , 'anchorUnits' => 'pixel ' ,
119- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
118+ 'anchorString' => '/Company/' , 'anchorUnits' => 'pixels ' ,
119+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
120120 )
121121 text4 = DocuSign_eSign ::Text . new (
122122 'documentId' => '1' , 'tabLabel' => 'JobTitle' ,
123- 'anchorString' => '/JobTitle/' , 'anchorUnits' => 'pixel ' ,
124- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
123+ 'anchorString' => '/JobTitle/' , 'anchorUnits' => 'pixels ' ,
124+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
125125 )
126126 date_signed = DocuSign_eSign ::DateSigned . new (
127127 'documentId' => '1' , 'tabLabel' => 'DateSigned' ,
128- 'anchorString' => '/Date/' , 'anchorUnits' => 'pixel ' ,
129- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
128+ 'anchorString' => '/Date/' , 'anchorUnits' => 'pixels ' ,
129+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
130130 )
131131
132132 # Add the tabs model to the signer
@@ -139,7 +139,7 @@ def make_web_forms_template
139139 )
140140 # Create top two objects
141141 envelope_template_definition = DocuSign_eSign ::EnvelopeTemplate . new (
142- 'description' => 'Example template created via the API' ,
142+ 'description' => 'Example template created via the eSignature API' ,
143143 'shared' => 'false'
144144 )
145145
0 commit comments