Class: Riaction::Generators::InstallGenerator
- Defined in:
- lib/generators/riaction/install/install_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#create_credentials_file ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/generators/riaction/install/install_generator.rb', line 8 def create_credentials_file credentials.map!{|credential| { :env => credential[credential_regexp,1], :app_key => credential[credential_regexp,2], :api_key => credential[credential_regexp,3] } } template "i_actionable.yml", "config/i_actionable.yml" template "riaction.rb", "config/initializers/riaction.rb" end |