Class: Platformx::Configuration
- Inherits:
-
Object
- Object
- Platformx::Configuration
- Defined in:
- lib/platformx.rb
Overview
Start Configuration Class
Instance Attribute Summary collapse
-
#aws_access_key_id ⇒ Object
Returns the value of attribute aws_access_key_id.
-
#aws_bucket ⇒ Object
For AWS/Fog.
-
#aws_region ⇒ Object
Returns the value of attribute aws_region.
-
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
-
#bugsnag_api_key ⇒ Object
For Bugsnag.
-
#mail_address ⇒ Object
Returns the value of attribute mail_address.
-
#mail_authentication ⇒ Object
Returns the value of attribute mail_authentication.
-
#mail_domain ⇒ Object
Returns the value of attribute mail_domain.
-
#mail_from ⇒ Object
X_mail.
-
#mail_password ⇒ Object
Returns the value of attribute mail_password.
-
#mail_port ⇒ Object
Returns the value of attribute mail_port.
-
#mail_user_name ⇒ Object
Returns the value of attribute mail_user_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/platformx.rb', line 78 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 ⇒ Object
Returns the value of attribute aws_access_key_id.
74 75 76 |
# File 'lib/platformx.rb', line 74 def aws_access_key_id @aws_access_key_id end |
#aws_bucket ⇒ Object
For AWS/Fog
73 74 75 |
# File 'lib/platformx.rb', line 73 def aws_bucket @aws_bucket end |
#aws_region ⇒ Object
Returns the value of attribute aws_region.
76 77 78 |
# File 'lib/platformx.rb', line 76 def aws_region @aws_region end |
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
75 76 77 |
# File 'lib/platformx.rb', line 75 def aws_secret_access_key @aws_secret_access_key end |
#bugsnag_api_key ⇒ Object
For Bugsnag
61 62 63 |
# File 'lib/platformx.rb', line 61 def bugsnag_api_key @bugsnag_api_key end |
#mail_address ⇒ Object
Returns the value of attribute mail_address.
65 66 67 |
# File 'lib/platformx.rb', line 65 def mail_address @mail_address end |
#mail_authentication ⇒ Object
Returns the value of attribute mail_authentication.
70 71 72 |
# File 'lib/platformx.rb', line 70 def mail_authentication @mail_authentication end |
#mail_domain ⇒ Object
Returns the value of attribute mail_domain.
67 68 69 |
# File 'lib/platformx.rb', line 67 def mail_domain @mail_domain end |
#mail_from ⇒ Object
X_mail
64 65 66 |
# File 'lib/platformx.rb', line 64 def mail_from @mail_from end |
#mail_password ⇒ Object
Returns the value of attribute mail_password.
69 70 71 |
# File 'lib/platformx.rb', line 69 def mail_password @mail_password end |
#mail_port ⇒ Object
Returns the value of attribute mail_port.
66 67 68 |
# File 'lib/platformx.rb', line 66 def mail_port @mail_port end |
#mail_user_name ⇒ Object
Returns the value of attribute mail_user_name.
68 69 70 |
# File 'lib/platformx.rb', line 68 def mail_user_name @mail_user_name end |