Class: Echochamber::Reminder

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

Instance Method Summary (collapse)

Methods included from Validatable

#require_exactly_one, #require_keys, #validate_field

Constructor Details

- (Echochamber::Reminder) initialize(params)

Reminder options

Parameters:

  • params (Hash)

    SYMBOL-referenced Hash containing exactly one of the following:

Options Hash (params):

  • :agreementId (String) — default: REQUIRED
  • :comment (String)

    An Optional message sent to the recipients, describing what is being sent and why their signatures are required.



12
13
14
15
# File 'lib/echochamber/reminder.rb', line 12

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