Class: Net::SMTPProxy::Proxy
- Inherits:
-
SMTP
- Object
- SMTP
- Net::SMTPProxy::Proxy
- Defined in:
- lib/net/smtp-proxy/proxy.rb
Instance Attribute Summary collapse
-
#proxy_address ⇒ Object
readonly
Returns the value of attribute proxy_address.
-
#proxy_port ⇒ Object
readonly
Returns the value of attribute proxy_port.
Instance Method Summary collapse
-
#initialize(address, port, proxy_address, proxy_port) ⇒ Proxy
constructor
A new instance of Proxy.
Constructor Details
#initialize(address, port, proxy_address, proxy_port) ⇒ Proxy
Returns a new instance of Proxy.
9 10 11 12 13 |
# File 'lib/net/smtp-proxy/proxy.rb', line 9 def initialize(address, port, proxy_address, proxy_port) super(address, port) @proxy_address = proxy_address @proxy_port = proxy_port end |
Instance Attribute Details
#proxy_address ⇒ Object (readonly)
Returns the value of attribute proxy_address.
7 8 9 |
# File 'lib/net/smtp-proxy/proxy.rb', line 7 def proxy_address @proxy_address end |
#proxy_port ⇒ Object (readonly)
Returns the value of attribute proxy_port.
7 8 9 |
# File 'lib/net/smtp-proxy/proxy.rb', line 7 def proxy_port @proxy_port end |