Class: HelloSign::Parameters::SignatureRequest
- Inherits:
-
Object
- Object
- HelloSign::Parameters::SignatureRequest
- Defined in:
- lib/hello_sign/parameters/signature_request.rb
Instance Attribute Summary collapse
-
#ccs ⇒ Object
writeonly
Sets the attribute ccs.
-
#files ⇒ Object
writeonly
Sets the attribute files.
-
#form_fields_per_document ⇒ Object
writeonly
Sets the attribute form_fields_per_document.
-
#message ⇒ Object
writeonly
Sets the attribute message.
-
#signers ⇒ Object
writeonly
Sets the attribute signers.
-
#subject ⇒ Object
writeonly
Sets the attribute subject.
-
#test_mode ⇒ Object
writeonly
Sets the attribute test_mode.
-
#title ⇒ Object
writeonly
Sets the attribute title.
Instance Method Summary collapse
- #formatted ⇒ Object
-
#initialize ⇒ SignatureRequest
constructor
A new instance of SignatureRequest.
Constructor Details
#initialize ⇒ SignatureRequest
Returns a new instance of SignatureRequest.
12 13 14 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 12 def initialize @signers, @files, @form_fields_per_document = nil, nil, nil end |
Instance Attribute Details
#ccs=(value) ⇒ Object
Sets the attribute ccs
7 8 9 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 7 def ccs=(value) @ccs = value end |
#files=(value) ⇒ Object
Sets the attribute files
10 11 12 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 10 def files=(value) @files = value end |
#form_fields_per_document=(value) ⇒ Object
Sets the attribute form_fields_per_document
10 11 12 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 10 def form_fields_per_document=(value) @form_fields_per_document = value end |
#message=(value) ⇒ Object
Sets the attribute message
7 8 9 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 7 def (value) = value end |
#signers=(value) ⇒ Object
Sets the attribute signers
10 11 12 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 10 def signers=(value) @signers = value end |
#subject=(value) ⇒ Object
Sets the attribute subject
7 8 9 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 7 def subject=(value) @subject = value end |
#test_mode=(value) ⇒ Object
Sets the attribute test_mode
7 8 9 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 7 def test_mode=(value) @test_mode = value end |
#title=(value) ⇒ Object
Sets the attribute title
7 8 9 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 7 def title=(value) @title = value end |
Instance Method Details
#formatted ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/hello_sign/parameters/signature_request.rb', line 16 def formatted { test_mode: test_mode || 0, title: title, subject: subject, message: , cc_email_addresses: ccs, signers: formatted_signers, file: formatted_files, form_fields_per_document: formatted_form_fields_per_document } end |