Class: RequestParamsValidation::Definitions::Action
- Inherits:
-
Object
- Object
- RequestParamsValidation::Definitions::Action
- Defined in:
- lib/request_params_validation/definitions/action.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Action
constructor
A new instance of Action.
- #request(&block) ⇒ Object
Constructor Details
#initialize(name) ⇒ Action
Returns a new instance of Action.
8 9 10 |
# File 'lib/request_params_validation/definitions/action.rb', line 8 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/request_params_validation/definitions/action.rb', line 6 def name @name end |