Class: Echosign::WidgetStatus
- Inherits:
-
Hash
- Object
- Hash
- Echosign::WidgetStatus
- Includes:
- Validatable
- Defined in:
- lib/echosign/widget/widget_status.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ Echosign::WidgetStatus
constructor
Status object.
Methods included from Validatable
#require_exactly_one, #require_keys, #validate_field
Constructor Details
#initialize(params) ⇒ Echosign::WidgetStatus
Status object
16 17 18 19 20 |
# File 'lib/echosign/widget/widget_status.rb', line 16 def initialize(params) require_keys([:value], params) require_exactly_one([:message, :redirectUrl], params) merge!(params) end |