Class: MailCatcher::API::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mailcatcher/api/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


6
7
8
# File 'lib/mailcatcher/api/configuration.rb', line 6

def initialize
  @server = 'http://127.0.0.1:1080'
end

Instance Attribute Details

#serverObject

Returns the value of attribute server


4
5
6
# File 'lib/mailcatcher/api/configuration.rb', line 4

def server
  @server
end