Class: CmEmail::Configuration
- Inherits:
-
Object
- Object
- CmEmail::Configuration
- Defined in:
- lib/cm_email/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_mode ⇒ Object
Returns the value of attribute api_mode.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/cm_email/configuration.rb', line 5 def initialize @api_key = nil @api_mode = 'production' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/cm_email/configuration.rb', line 3 def api_key @api_key end |
#api_mode ⇒ Object
Returns the value of attribute api_mode.
3 4 5 |
# File 'lib/cm_email/configuration.rb', line 3 def api_mode @api_mode end |