Class: Echosign::FormFieldLocation
- Inherits:
-
Hash
- Object
- Hash
- Echosign::FormFieldLocation
- Includes:
- Validatable
- Defined in:
- lib/echosign/agreement/form_field_location.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ Echosign::FormFieldLocation
constructor
Validates FormFieldLocation params.
Methods included from Validatable
#require_exactly_one, #require_keys, #validate_field
Constructor Details
#initialize(params) ⇒ Echosign::FormFieldLocation
Validates FormFieldLocation params
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 |