Sha256: e5c80f95ec0236c32139f11b06532d1e901340e78ed89579a8b644055cbe557d

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

SMTP_SETTINGS = {
  authentication: ENV.fetch('SMTP_AUTHENTICATION', :plain).to_sym,
  enable_starttls_auto:  ENV.fetch('SMTP_STARTTLS', false),

  address: ENV.fetch('SMTP_ADDRESS'), # example: "smtp.sendgrid.net"
  domain: ENV.fetch('SMTP_DOMAIN'), # example: "heroku.com"
  port: ENV.fetch('SMTP_PORT', 587),

  user_name: ENV.fetch('SMTP_USERNAME'),
  password: ENV.fetch('SMTP_PASSWORD')
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pineapples-0.3.345 lib/pineapples/templates/config/smtp.rb
pineapples-0.3.34 lib/pineapples/templates/config/smtp.rb