Class: DineroMail::Configuration
- Inherits:
-
Object
- Object
- DineroMail::Configuration
- Defined in:
- lib/dinero_mail/configuration.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#password ⇒ Object
Returns the value of attribute password.
-
#secret ⇒ Object
Returns the value of attribute secret.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment.
3 4 5 |
# File 'lib/dinero_mail/configuration.rb', line 3 def environment @environment end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/dinero_mail/configuration.rb', line 3 def password @password end |
#secret ⇒ Object
Returns the value of attribute secret.
3 4 5 |
# File 'lib/dinero_mail/configuration.rb', line 3 def secret @secret end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/dinero_mail/configuration.rb', line 3 def username @username end |
Instance Method Details
#production? ⇒ Boolean
9 10 11 |
# File 'lib/dinero_mail/configuration.rb', line 9 def production? self.environment == :production end |
#test? ⇒ Boolean
5 6 7 |
# File 'lib/dinero_mail/configuration.rb', line 5 def test? self.environment == :test end |