Class: Mailflow::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/mailflow/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#hostObject

Returns the value of attribute host.



3
4
5
# File 'lib/mailflow/config.rb', line 3

def host
  @host
end

#server_keyObject

Returns the value of attribute server_key.



3
4
5
# File 'lib/mailflow/config.rb', line 3

def server_key
  @server_key
end