Class: ProcessWanker::ConfigSMTP
- Inherits:
-
ConfigNode
- Object
- ConfigNode
- ProcessWanker::ConfigSMTP
- Defined in:
- lib/config/config_smtp.rb
Instance Attribute Summary collapse
-
#auth_method ⇒ Object
Returns the value of attribute auth_method.
-
#from_addr ⇒ Object
Returns the value of attribute from_addr.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#secure ⇒ Object
Returns the value of attribute secure.
-
#server ⇒ Object
Returns the value of attribute server.
-
#to_addrs ⇒ Object
Returns the value of attribute to_addrs.
-
#userid ⇒ Object
Returns the value of attribute userid.
Attributes inherited from ConfigNode
Instance Method Summary collapse
-
#initialize ⇒ ConfigSMTP
constructor
A new instance of ConfigSMTP.
Methods inherited from ConfigNode
Constructor Details
#initialize ⇒ ConfigSMTP
Returns a new instance of ConfigSMTP.
43 44 45 46 47 48 |
# File 'lib/config/config_smtp.rb', line 43 def initialize() @to_addrs=[] port=25 ssl=false from_domain=`hostname`.strip end |
Instance Attribute Details
#auth_method ⇒ Object
Returns the value of attribute auth_method.
41 42 43 |
# File 'lib/config/config_smtp.rb', line 41 def auth_method @auth_method end |
#from_addr ⇒ Object
Returns the value of attribute from_addr.
38 39 40 |
# File 'lib/config/config_smtp.rb', line 38 def from_addr @from_addr end |
#password ⇒ Object
Returns the value of attribute password.
40 41 42 |
# File 'lib/config/config_smtp.rb', line 40 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
35 36 37 |
# File 'lib/config/config_smtp.rb', line 35 def port @port end |
#secure ⇒ Object
Returns the value of attribute secure.
36 37 38 |
# File 'lib/config/config_smtp.rb', line 36 def secure @secure end |
#server ⇒ Object
Returns the value of attribute server.
34 35 36 |
# File 'lib/config/config_smtp.rb', line 34 def server @server end |
#to_addrs ⇒ Object
Returns the value of attribute to_addrs.
37 38 39 |
# File 'lib/config/config_smtp.rb', line 37 def to_addrs @to_addrs end |
#userid ⇒ Object
Returns the value of attribute userid.
39 40 41 |
# File 'lib/config/config_smtp.rb', line 39 def userid @userid end |