Class: T::Mailer::Configuration
- Inherits:
-
Object
- Object
- T::Mailer::Configuration
- Defined in:
- lib/t/mailer.rb
Instance Attribute Summary collapse
-
#aws_access_key_id ⇒ Object
Amazon AWS SES.
-
#aws_default_region ⇒ Object
Returns the value of attribute aws_default_region.
-
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
-
#sparkpost_api_key ⇒ Object
SparkPost.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
52 53 54 55 56 57 58 59 60 61 |
# File 'lib/t/mailer.rb', line 52 def initialize %w( AWS_ACCESS_KEY_ID AWS_DEFAULT_REGION AWS_SECRET_ACCESS_KEY SPARKPOST_API_KEY ).each do |variable_name| set_credential(variable_name) end end |
Instance Attribute Details
#aws_access_key_id ⇒ Object
Amazon AWS SES
46 47 48 |
# File 'lib/t/mailer.rb', line 46 def aws_access_key_id @aws_access_key_id end |
#aws_default_region ⇒ Object
Returns the value of attribute aws_default_region.
47 48 49 |
# File 'lib/t/mailer.rb', line 47 def aws_default_region @aws_default_region end |
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
48 49 50 |
# File 'lib/t/mailer.rb', line 48 def aws_secret_access_key @aws_secret_access_key end |
#sparkpost_api_key ⇒ Object
SparkPost
50 51 52 |
# File 'lib/t/mailer.rb', line 50 def sparkpost_api_key @sparkpost_api_key end |