Class: MailCatcher::API::Config
- Inherits:
-
Object
- Object
- MailCatcher::API::Config
- Defined in:
- lib/mailcatcher/api/config.rb
Instance Attribute Summary collapse
-
#server ⇒ Object
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
6 7 8 |
# File 'lib/mailcatcher/api/config.rb', line 6 def initialize @server = 'http://127.0.0.1:1080' end |
Instance Attribute Details
#server ⇒ Object
Returns the value of attribute server.
4 5 6 |
# File 'lib/mailcatcher/api/config.rb', line 4 def server @server end |