Class: ActiveInteractor::Context::Input
- Defined in:
- lib/active_interactor/context/input.rb
Constant Summary
Constants included from Type::DeclerationMethods
Type::DeclerationMethods::Boolean
Instance Attribute Summary
Attributes included from ActiveModelErrorMethods
Class Method Summary collapse
Methods inherited from Base
Methods included from AttributeAssignment
Methods included from ActiveModelErrorMethods
#read_attribute_for_validation
Constructor Details
This class inherits a constructor from ActiveInteractor::Context::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveInteractor::Context::AttributeAssignment
Class Method Details
.argument(*attribute_args) ⇒ Object
6 7 8 |
# File 'lib/active_interactor/context/input.rb', line 6 def self.argument(*attribute_args) attribute_set.add(*attribute_args) end |
.argument_names ⇒ Object
10 11 12 |
# File 'lib/active_interactor/context/input.rb', line 10 def self.argument_names attribute_set.attribute_names end |
.arguments ⇒ Object
14 15 16 |
# File 'lib/active_interactor/context/input.rb', line 14 def self.arguments attribute_set.attributes end |