Class: Echosign::UrlFileInfo
- Inherits:
-
Hash
- Object
- Hash
- Echosign::UrlFileInfo
- Includes:
- Validatable
- Defined in:
- lib/echosign/agreement/url_file_info.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ UrlFileInfo
constructor
Validates UrlFileInfo parameters.
Methods included from Validatable
#require_exactly_one, #require_keys, #validate_field
Constructor Details
#initialize(params) ⇒ UrlFileInfo
Validates UrlFileInfo parameters
15 16 17 18 |
# File 'lib/echosign/agreement/url_file_info.rb', line 15 def initialize(params) require_keys([:url], params) merge! params end |