Class: ProcessWanker::ConfigSMTP

Inherits:
ConfigNode show all
Defined in:
lib/config/config_smtp.rb

Instance Attribute Summary collapse

Attributes inherited from ConfigNode

#container

Instance Method Summary collapse

Methods inherited from ConfigNode

#find_attributes, #get_auth

Constructor Details

#initializeConfigSMTP

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_methodObject

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_addrObject

Returns the value of attribute from_addr.



38
39
40
# File 'lib/config/config_smtp.rb', line 38

def from_addr
  @from_addr
end

#passwordObject

Returns the value of attribute password.



40
41
42
# File 'lib/config/config_smtp.rb', line 40

def password
  @password
end

#portObject

Returns the value of attribute port.



35
36
37
# File 'lib/config/config_smtp.rb', line 35

def port
  @port
end

#secureObject

Returns the value of attribute secure.



36
37
38
# File 'lib/config/config_smtp.rb', line 36

def secure
  @secure
end

#serverObject

Returns the value of attribute server.



34
35
36
# File 'lib/config/config_smtp.rb', line 34

def server
  @server
end

#to_addrsObject

Returns the value of attribute to_addrs.



37
38
39
# File 'lib/config/config_smtp.rb', line 37

def to_addrs
  @to_addrs
end

#useridObject

Returns the value of attribute userid.



39
40
41
# File 'lib/config/config_smtp.rb', line 39

def userid
  @userid
end