Class: Echosign::FormFieldLocation

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

Instance Method Summary collapse

Methods included from Validatable

#require_exactly_one, #require_keys, #validate_field

Constructor Details

#initialize(params) ⇒ Echosign::FormFieldLocation

Validates FormFieldLocation params

Parameters:

  • params (Hash)

    SYMBOL-referenced Hash containing exactly one of the following:

  • param (Hash)

    a customizable set of options



14
15
16
17
# File 'lib/echosign/agreement/form_field_location.rb', line 14

def initialize(params)
  require_keys([:pageNumber, :left, :top, :width, :height], params)
  merge!(params)
end