Class: Kawaii::Routing::Services::GenerateResourcesActions

Inherits:
GenerateResourceActions show all
Defined in:
lib/kawaii/routing/services/generate_resources_actions.rb

Instance Method Summary collapse

Methods inherited from GenerateResourceActions

#call

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