Module: Cybele::Helpers::RecipientInterceptor

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

Instance Method Summary collapse

Instance Method Details

#configure_recipient_interceptorObject



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

def configure_recipient_interceptor
  # Add recipient_interceptor staging settings to staging environment file
  configure_environment 'staging',
                        template_content('recipient_interceptor/recipient_interceptor_staging.rb.erb')
  # Add recipient_interceptor staging settings to staging environment file
  append_file 'config/settings.yml',
              template_content('recipient_interceptor/recipient_interceptor_settings.yml.erb')

  configure_app_name(['config/settings.yml'])
end