Module: Ronin::Network::POP3

Defined in:
lib/ronin/network/pop3.rb

Overview

Global settings for accessing POP3.

Constant Summary collapse

DEFAULT_PORT =

Default POP3 port

110

Class Method Summary collapse

Class Method Details

.default_portInteger

Returns The default Ronin POP3 port.

Returns:

  • (Integer)

    The default Ronin POP3 port.



37
38
39
# File 'lib/ronin/network/pop3.rb', line 37

def POP3.default_port
  @default_port ||= DEFAULT_PORT
end

.default_port=(port) ⇒ Object

Sets the default Ronin POP3 port.

Parameters:

  • port (Integer)

    The new default Ronin POP3 port.



49
50
51
# File 'lib/ronin/network/pop3.rb', line 49

def POP3.default_port=(port)
  @default_port = port
end