Class: Platformx::Configuration
- Inherits:
-
Object
- Object
- Platformx::Configuration
- Defined in:
- lib/platformx/configuration.rb
Instance Attribute Summary collapse
-
#bugsnag_api_key ⇒ Object
Returns the value of attribute bugsnag_api_key.
-
#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
Returns the value of attribute mail_from.
-
#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.
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/platformx/configuration.rb', line 14 def initialize #Example: @bugsnag_api_key = "" @mail_from = "" @mail_address = "smtp.mailgun.org" @mail_port = "587" @mail_domain = "smtp.mailgun.org" @mail_user_name = "" @mail_password = "" @mail_authentication = "plain" end |
Instance Attribute Details
#bugsnag_api_key ⇒ Object
Returns the value of attribute bugsnag_api_key.
4 5 6 |
# File 'lib/platformx/configuration.rb', line 4 def bugsnag_api_key @bugsnag_api_key end |
#mail_address ⇒ Object
Returns the value of attribute mail_address.
6 7 8 |
# File 'lib/platformx/configuration.rb', line 6 def mail_address @mail_address end |
#mail_authentication ⇒ Object
Returns the value of attribute mail_authentication.
11 12 13 |
# File 'lib/platformx/configuration.rb', line 11 def mail_authentication @mail_authentication end |
#mail_domain ⇒ Object
Returns the value of attribute mail_domain.
8 9 10 |
# File 'lib/platformx/configuration.rb', line 8 def mail_domain @mail_domain end |
#mail_from ⇒ Object
Returns the value of attribute mail_from.
5 6 7 |
# File 'lib/platformx/configuration.rb', line 5 def mail_from @mail_from end |
#mail_password ⇒ Object
Returns the value of attribute mail_password.
10 11 12 |
# File 'lib/platformx/configuration.rb', line 10 def mail_password @mail_password end |
#mail_port ⇒ Object
Returns the value of attribute mail_port.
7 8 9 |
# File 'lib/platformx/configuration.rb', line 7 def mail_port @mail_port end |
#mail_user_name ⇒ Object
Returns the value of attribute mail_user_name.
9 10 11 |
# File 'lib/platformx/configuration.rb', line 9 def mail_user_name @mail_user_name end |