Routes respond_to? to the referenced remote object.
Routes respond_to? to the referenced remote object.
Returns the eigenvector matrix V
Setter for the read_timeout
attribute.
Sends a GET request to the target and returns the HTTP
response as a Net::HTTPResponse
object. The target can either be specified as (uri
), or as (host
, path
, port
= 80); so:
res = Net::HTTP.get_response(URI('http://www.example.com/index.html')) print res.body
or:
res = Net::HTTP.get_response('www.example.com', '/index.html') print res.body
Setter for the read_timeout
attribute.
Setter for the write_timeout
attribute.
Executes a request which uses a representation and returns its body.
Adds an authenticator for Net::IMAP#authenticate
. auth_type
is the type of authentication this authenticator supports (for instance, “LOGIN”). The authenticator
is an object which defines a process() method to handle authentication with the server. See Net::IMAP::LoginAuthenticator
, Net::IMAP::CramMD5Authenticator
, and Net::IMAP::DigestMD5Authenticator
for examples.
If auth_type
refers to an existing authenticator, it will be replaced by the new one.
Formats time
as an IMAP-style date-time.
Opens a POP3
session, attempts authentication, and quits.
This method raises POPAuthenticationError
if authentication fails.
POP3
Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword')
APOP
Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword', true)
Starts a pop3 session, attempts authentication, and quits. This method must not be called while POP3
session is opened. This method raises POPAuthenticationError
if authentication fails.
Set
the read timeout.
Returns the unique-id of the message. Normally the unique-id is a hash string of the message.
This method raises a POPError
if an error occurs.
Set
the number of seconds to wait until timing-out a read(2) call.
Parses argument, converts and returns arg
, block
and result of conversion. Yields at semi-error condition instead of raising an exception.