Class: TheAdmin::Configuration
- Inherits:
-
Object
- Object
- TheAdmin::Configuration
- Defined in:
- lib/the-admin.rb
Overview
TheAdmin configuration class.
Instance Attribute Summary collapse
-
#aws_access_key_id ⇒ String
Controls the aws access key id.
-
#aws_bucket ⇒ String
Controls the aws bucket name.
-
#aws_region ⇒ String
Controls the aws region.
-
#aws_secret_access_key ⇒ String
Controls the aws secret access key.
-
#mail_address ⇒ String
Controls the mail address.
-
#mail_authentication ⇒ String
Controls mail authentication.
-
#mail_domain ⇒ String
Controls the mail domain.
-
#mail_from ⇒ String
Controls the mail from.
-
#mail_password ⇒ String
Controls the mail password.
-
#mail_port ⇒ String
Controls the mail port number.
-
#mail_user_name ⇒ String
Controls the mail user name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Initialize TheAdmin configuration object and set defaults.
Constructor Details
#initialize ⇒ Configuration
Initialize TheAdmin configuration object and set defaults
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/the-admin.rb', line 102 def initialize # Bugsnag # @bugsnag_api_key = "" # X_mail @mail_from = "" @mail_address = "smtp.mailgun.org" @mail_port = "587" @mail_domain = "smtp.mailgun.org" @mail_user_name = "" @mail_password = "" @mail_authentication = "plain" # For AWS/Fog @aws_bucket = "" @aws_secret_access_key = "" @aws_access_key_id = "" @aws_region = "" end |
Instance Attribute Details
#aws_access_key_id ⇒ String
Controls the aws access key id
91 92 93 |
# File 'lib/the-admin.rb', line 91 def aws_access_key_id @aws_access_key_id end |
#aws_bucket ⇒ String
Controls the aws bucket name
87 88 89 |
# File 'lib/the-admin.rb', line 87 def aws_bucket @aws_bucket end |
#aws_region ⇒ String
Controls the aws region
99 100 101 |
# File 'lib/the-admin.rb', line 99 def aws_region @aws_region end |
#aws_secret_access_key ⇒ String
Controls the aws secret access key
95 96 97 |
# File 'lib/the-admin.rb', line 95 def aws_secret_access_key @aws_secret_access_key end |
#mail_address ⇒ String
Controls the mail address
63 64 65 |
# File 'lib/the-admin.rb', line 63 def mail_address @mail_address end |
#mail_authentication ⇒ String
Controls mail authentication
83 84 85 |
# File 'lib/the-admin.rb', line 83 def mail_authentication @mail_authentication end |
#mail_domain ⇒ String
Controls the mail domain
71 72 73 |
# File 'lib/the-admin.rb', line 71 def mail_domain @mail_domain end |
#mail_from ⇒ String
Controls the mail from
59 60 61 |
# File 'lib/the-admin.rb', line 59 def mail_from @mail_from end |
#mail_password ⇒ String
Controls the mail password
79 80 81 |
# File 'lib/the-admin.rb', line 79 def mail_password @mail_password end |
#mail_port ⇒ String
Controls the mail port number
67 68 69 |
# File 'lib/the-admin.rb', line 67 def mail_port @mail_port end |
#mail_user_name ⇒ String
Controls the mail user name
75 76 77 |
# File 'lib/the-admin.rb', line 75 def mail_user_name @mail_user_name end |