Class: Hanami::Action::Params::DefaultContract::Result Private
- Inherits:
-
Object
- Object
- Hanami::Action::Params::DefaultContract::Result
- Defined in:
- lib/hanami/action/params.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #errors ⇒ Object private
-
#initialize(attrs) ⇒ Result
constructor
private
A new instance of Result.
- #to_h ⇒ Object private
Constructor Details
#initialize(attrs) ⇒ Result
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Result.
41 |
# File 'lib/hanami/action/params.rb', line 41 def initialize(attrs) = @attrs = Utils::Hash.deep_symbolize(attrs) |
Instance Method Details
#errors ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
43 |
# File 'lib/hanami/action/params.rb', line 43 def errors = {} |
#to_h ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 |
# File 'lib/hanami/action/params.rb', line 42 def to_h = @attrs |