Module: Cybele::Helpers::Responders

Included in:
AppBuilder
Defined in:
lib/cybele/helpers/responders.rb

Instance Method Summary collapse

Instance Method Details

#configure_respondersObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/cybele/helpers/responders.rb', line 6

def configure_responders
  # Add gems
  append_file('Gemfile', template_content('responders/responders_Gemfile.erb'))
  run_bundle

  # Add initializers
  bundle_command 'exec rails generate responders:install'

  replace_responders_file_contents
end