Class: Parser::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/mailchekka/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOptions

Returns a new instance of Options.



7
8
9
10
11
12
# File 'lib/mailchekka/parser.rb', line 7

def initialize
  @host     = '127.0.0.1'
  @ssl      = false
  @interval = 60
  @pop      = false
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



5
6
7
# File 'lib/mailchekka/parser.rb', line 5

def host
  @host
end

#intervalObject

Returns the value of attribute interval.



5
6
7
# File 'lib/mailchekka/parser.rb', line 5

def interval
  @interval
end

#loginObject

Returns the value of attribute login.



5
6
7
# File 'lib/mailchekka/parser.rb', line 5

def 
  @login
end

#passwordObject

Returns the value of attribute password.



5
6
7
# File 'lib/mailchekka/parser.rb', line 5

def password
  @password
end

#popObject

Returns the value of attribute pop.



5
6
7
# File 'lib/mailchekka/parser.rb', line 5

def pop
  @pop
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/mailchekka/parser.rb', line 5

def port
  @port
end

#sslObject

Returns the value of attribute ssl.



5
6
7
# File 'lib/mailchekka/parser.rb', line 5

def ssl
  @ssl
end