Class: Mailflow::Config
- Inherits:
-
Object
- Object
- Mailflow::Config
- Defined in:
- lib/mailflow/config.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#server_key ⇒ Object
Returns the value of attribute server_key.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 8 |
# File 'lib/mailflow/config.rb', line 5 def initialize @host = ENV['MAILFLOW_HOST'] @server_key = ENV['MAILFLOW_KEY'] end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/mailflow/config.rb', line 3 def host @host end |
#server_key ⇒ Object
Returns the value of attribute server_key.
3 4 5 |
# File 'lib/mailflow/config.rb', line 3 def server_key @server_key end |