Class: LogicalAuthz::LogicalAuthzGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- LogicalAuthz::LogicalAuthzGenerator
show all
- Defined in:
- lib/logical_authz/generator.rb
Instance Method Summary
collapse
Instance Method Details
#controllers ⇒ Object
17
18
19
|
# File 'lib/logical_authz/generator.rb', line 17
def controllers
invoke("logical_authz:controller")
end
|
#models ⇒ Object
5
6
7
|
# File 'lib/logical_authz/generator.rb', line 5
def models
invoke("logical_authz:model")
end
|
#routes ⇒ Object
9
10
11
|
# File 'lib/logical_authz/generator.rb', line 9
def routes
invoke("logical_authz:routes")
end
|
#specs ⇒ Object
13
14
15
|
# File 'lib/logical_authz/generator.rb', line 13
def specs
invoke("logical_authz:specs")
end
|