Class: Envconfig::Smtp::Postmark

Inherits:
Object
  • Object
show all
Includes:
Provider
Defined in:
lib/envconfig/smtp.rb

Instance Method Summary collapse

Methods included from Provider

#config, #env_keys, #filter_config, find, #initialize, #name, #valid?

Instance Method Details

#mappingObject



62
63
64
65
66
67
68
# File 'lib/envconfig/smtp.rb', line 62

def mapping
  {
    address: "POSTMARK_SMTP_SERVER",
    user_name: "POSTMARK_API_KEY",
    password: "POSTMARK_API_KEY",
  }
end

#staticObject



69
70
71
72
73
74
# File 'lib/envconfig/smtp.rb', line 69

def static
  {
    port: "25",
    authentication: :plain,
  }
end