Class: Echosign::RecipientSecurityOption

Inherits:
Hash
  • Object
show all
Includes:
Validatable
Defined in:
lib/echosign/agreement/recipient_security_option.rb

Instance Method Summary collapse

Methods included from Validatable

#require_exactly_one, #require_keys, #validate_field

Constructor Details

#initialize(params) ⇒ Echosign::RecipientSecurityOption

Validates RecipientSecurityOption parameters

Parameters:

  • params (Hash)

    SYMBOL-referenced Hash.

Options Hash (params):

  • :authenticationMethod (String)

    [‘INHERITED_FROM_DOCUMENT’ or ‘KBA’ or ‘PASSWORD’ or ‘WEB_IDENTITY’ or ‘PHONE’ or ‘NONE’]: The authentication method for the recipients to have access to view and sign the document. (REQUIRED)

  • :phoneInfos (Array)

    The phoneInfo required for the recipient to view and sign the document. Populate with instances of Echosign::PhoneInfo

  • :password (String)

    The password required for the recipient to view and sign the document.



16
17
18
19
# File 'lib/echosign/agreement/recipient_security_option.rb', line 16

def initialize(params)
  require_keys([:authenticationMethod], params)
  merge! params
end