Sha256: 31355419638fcd3b6474a6583a69321d300c3c28b365b8566b7261532e4a9837

Contents?: true

Size: 807 Bytes

Versions: 5

Compression:

Stored size: 807 Bytes

Contents

# frozen_string_literal: true
require "rubygems"
require "twilio-ruby"

module SocialNetworking
  # Mountable engine with isolated namespace.
  class Engine < ::Rails::Engine
    isolate_namespace SocialNetworking

    config.generators do |g|
      g.test_framework :rspec
      g.assets false
      g.helper false
    end

    config.action_mailer.default_url_options =
      { host: "moodtech-no-reply@northwestern.edu" }
    config.action_mailer.default_options =
      { from: "moodtech-no-reply@northwestern.edu" }

    config.twilio_account_sid =
      ENV["MOODCONNECT_TWILIO_ACCOUNT_SID"]
    config.twilio_auth_token =
      ENV["MOODCONNECT_TWILIO_AUTH_TOKEN"]
    config.twilio_account_telephone_number =
      ENV["MOODCONNECT_TWILIO_PHONE_NUMBER"]

    config.enable_notices = false
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
social_networking-0.13.3 lib/social_networking/engine.rb
social_networking-0.13.2 lib/social_networking/engine.rb
social_networking-0.13.1 lib/social_networking/engine.rb
social_networking-0.13.0 lib/social_networking/engine.rb
social_networking-0.12.0 lib/social_networking/engine.rb