Module: Swamp::Action::Parameters
- Defined in:
- lib/swamp/rails_actions/action/parameters.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name) ⇒ Object (private)
23 24 25 |
# File 'lib/swamp/rails_actions/action/parameters.rb', line 23 def method_missing(method_name, *) input.fetch(method_name.to_sym) { super } end |
Class Method Details
.included(base) ⇒ Object
6 7 8 9 |
# File 'lib/swamp/rails_actions/action/parameters.rb', line 6 def self.included(base) base.extend ClassMethods base.expose :validation_result end |