Class: People::AuthorizationsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/people/authorizations/authorizations_generator.rb

Instance Method Summary collapse

Instance Method Details

#sprintObject



5
6
7
8
9
# File 'lib/generators/people/authorizations/authorizations_generator.rb', line 5

def sprint
copy_authorization_files_over
  prepend_file 'gems/authorization/lib/authorization.rb', "require \'authorization/people/v1/user\'\n"
  prepend_file 'gems/authorization/lib/authorization.rb', "require \'authorization/people/v1/authentication\'\n"
end