Class: JsonVoorhees::AppMakeAuthorizationsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- JsonVoorhees::AppMakeAuthorizationsGenerator
- Defined in:
- lib/generators/json_voorhees/app_make_authorizations/app_make_authorizations_generator.rb
Instance Method Summary collapse
Instance Method Details
#sprint ⇒ Object
9 10 11 12 |
# File 'lib/generators/json_voorhees/app_make_authorizations/app_make_authorizations_generator.rb', line 9 def sprint template "auth_file.rb.erb", "gems/authorization/lib/authorization/#{module_snake}/v#{api_version}/#{resource_singular}.rb" require_authfile end |