Class: Kawaii::Routing::Services::GenerateResourcesActions
- Inherits:
-
GenerateResourceActions
- Object
- GenerateResourceActions
- Kawaii::Routing::Services::GenerateResourcesActions
- Defined in:
- lib/kawaii/routing/services/generate_resources_actions.rb
Instance Method Summary collapse
-
#initialize(name, path, methods) ⇒ GenerateResourcesActions
constructor
A new instance of GenerateResourcesActions.
Methods inherited from GenerateResourceActions
Constructor Details
#initialize(name, path, methods) ⇒ GenerateResourcesActions
Returns a new instance of GenerateResourcesActions.
5 6 7 8 9 |
# File 'lib/kawaii/routing/services/generate_resources_actions.rb', line 5 def initialize(name, path, methods) @name = name.to_s @methods = methods @path = path end |