Class: Echochamber::WidgetPersonalization

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

Instance Method Summary collapse

Methods included from Validatable

#require_exactly_one, #require_keys, #validate_field

Constructor Details

#initialize(params) ⇒ Echochamber::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,


15
16
17
18
# File 'lib/echochamber/widget/widget_personalization.rb', line 15

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