Module: Ronin::Network::IMAP

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

Overview

Global settings for accessing IMAP.

Constant Summary collapse

DEFAULT_PORT =

Default IMAP port

143

Class Method Summary collapse

Class Method Details

.default_portInteger

Returns The default Ronin IMAP port.

Returns:

  • (Integer)

    The default Ronin IMAP port.



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

def IMAP.default_port
  @default_port ||= DEFAULT_PORT
end

.default_port=(port) ⇒ Object

Sets the default Ronin IMAP port.

Parameters:

  • port (Integer)

    The new default Ronin IMAP port.



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

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