Class: ActionFacade::Base
- Inherits:
-
Object
- Object
- ActionFacade::Base
- Defined in:
- lib/action_facade/base.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params) ⇒ Base
constructor
pass controller’s params by default.
Constructor Details
#initialize(params) ⇒ Base
pass controller’s params by default
8 9 10 |
# File 'lib/action_facade/base.rb', line 8 def initialize(params) @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
5 6 7 |
# File 'lib/action_facade/base.rb', line 5 def params @params end |