Class: LogicalAuthz::LogicalAuthzGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/logical_authz/generator.rb

Instance Method Summary collapse

Instance Method Details

#controllersObject



17
18
19
# File 'lib/logical_authz/generator.rb', line 17

def controllers
  invoke("logical_authz:controller")
end

#modelsObject



5
6
7
# File 'lib/logical_authz/generator.rb', line 5

def models
  invoke("logical_authz:model")
end

#routesObject



9
10
11
# File 'lib/logical_authz/generator.rb', line 9

def routes
  invoke("logical_authz:routes")
end

#specsObject



13
14
15
# File 'lib/logical_authz/generator.rb', line 13

def specs
  invoke("logical_authz:specs")
end