Class: Parser::Options
- Inherits:
-
Object
- Object
- Parser::Options
- Defined in:
- lib/mailchekka/parser.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#login ⇒ Object
Returns the value of attribute login.
-
#password ⇒ Object
Returns the value of attribute password.
-
#pop ⇒ Object
Returns the value of attribute pop.
-
#port ⇒ Object
Returns the value of attribute port.
-
#ssl ⇒ Object
Returns the value of attribute ssl.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize ⇒ Options
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
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/mailchekka/parser.rb', line 5 def host @host end |
#interval ⇒ Object
Returns the value of attribute interval.
5 6 7 |
# File 'lib/mailchekka/parser.rb', line 5 def interval @interval end |
#login ⇒ Object
Returns the value of attribute login.
5 6 7 |
# File 'lib/mailchekka/parser.rb', line 5 def login @login end |
#password ⇒ Object
Returns the value of attribute password.
5 6 7 |
# File 'lib/mailchekka/parser.rb', line 5 def password @password end |
#pop ⇒ Object
Returns the value of attribute pop.
5 6 7 |
# File 'lib/mailchekka/parser.rb', line 5 def pop @pop end |
#port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/mailchekka/parser.rb', line 5 def port @port end |
#ssl ⇒ Object
Returns the value of attribute ssl.
5 6 7 |
# File 'lib/mailchekka/parser.rb', line 5 def ssl @ssl end |