Class: Universign::SignerInfos
- Defined in:
- lib/universign/signer_infos.rb
Instance Attribute Summary
Attributes inherited from Signer
Instance Method Summary collapse
-
#action_date ⇒ String
the action date.
-
#email ⇒ String
The signer’s email.
-
#error ⇒ String
The error message in case status == ‘failed`.
-
#refused_docs ⇒ Array<Integer>
List of refused docs indexes.
-
#status ⇒ Object
The status of the signer.
-
#url ⇒ String
The URL of the signature page.
Methods inherited from Signer
#first_name, #first_name=, from_data, #initialize, #last_name, #last_name=
Constructor Details
This class inherits a constructor from Universign::Signer
Instance Method Details
#action_date ⇒ String
the action date
38 39 40 |
# File 'lib/universign/signer_infos.rb', line 38 def action_date data['actionDate'] end |
#email ⇒ String
The signer’s email
52 53 54 |
# File 'lib/universign/signer_infos.rb', line 52 def email data['email'] end |
#error ⇒ String
The error message in case status == ‘failed`
24 25 26 |
# File 'lib/universign/signer_infos.rb', line 24 def error data['error'] end |
#refused_docs ⇒ Array<Integer>
List of refused docs indexes
45 46 47 |
# File 'lib/universign/signer_infos.rb', line 45 def refused_docs data['refusedDocs'] end |
#status ⇒ Object
The status of the signer
The existing statuses are:
| Status | Description | |:——————–:|:——————————————————————————————-:| | ‘waiting` | The signer has not yet been invited to sign. Others signers must sign prior to this user | | `ready` | The signer has been invited to sign, but has not tried yet | | `accessed` | The signer has accessed the signature service | | `code-sent` | The signer agreed to sign and has been sent an OTP | | `signed` | The signer has successfully signed. | | `pending-validation` | The signer has successfully signed and is pending RA validation | | `canceled` | The signer refused to sign, or one of the previous signers canceled or failed its signature | | `failed` | An error occured during the signature. In this case, error is set |
17 18 19 |
# File 'lib/universign/signer_infos.rb', line 17 def status data['status'] end |
#url ⇒ String
The URL of the signature page
31 32 33 |
# File 'lib/universign/signer_infos.rb', line 31 def url data['url'] end |