Class: Echosign::WidgetPersonalization

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

Instance Method Summary collapse

Methods included from Validatable

#require_exactly_one, #require_keys, #validate_field

Constructor Details

#initialize(params) ⇒ Echosign::Validatable

Initialization object

expiration (date, optional): Expiration date for the personalization of this widget. After this date, the

identity of the signer will not be assumed by EchoSign.,

Parameters:

  • params (Hash)

    a customizable set of options

Options Hash (params):

  • :email (String) — default: string

    : The email address of the person who will be receiving this widget (REQUIRED)

  • :expiration (String)

    Expiration date for the personalization of this widget. After this date, the identity of the signer will not be assumed by EchoSign.

  • :comment (String)

    Comment describing how the API caller established the signer’s identity - will appear in the audit trail.

  • :reusable (Boolean)

    Should the intended signer be allowed to sign this widget more than once

  • :allowManualVerification (Boolean)

    Not used at this time,



18
19
20
21
# File 'lib/echosign/widget/widget_personalization.rb', line 18

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