Class: Net::IMAP::SASLAdapter
- Inherits:
-
Net::IMAP::SASL::ClientAdapter
- Object
- Net::IMAP::SASL::ClientAdapter
- Net::IMAP::SASLAdapter
- Includes:
- Net::IMAP::SASL::ProtocolAdapters::IMAP
- Defined in:
- lib/net/imap/sasl_adapter.rb
Overview
Experimental
Constant Summary collapse
- RESPONSE_ERRORS =
[NoResponseError, BadResponseError, ByeResponseError] .freeze
Instance Attribute Summary
Attributes inherited from Net::IMAP::SASL::ClientAdapter
Instance Method Summary collapse
- #drop_connection ⇒ Object
- #drop_connection! ⇒ Object
- #response_errors ⇒ Object
- #sasl_ir_capable? ⇒ Boolean
Methods included from Net::IMAP::SASL::ProtocolAdapters::IMAP
Methods included from Net::IMAP::SASL::ProtocolAdapters::Generic
#cancel_response, #command_name, #decode, #encode, #encode_ir, #service
Methods inherited from Net::IMAP::SASL::ClientAdapter
#authenticate, #initialize, #run_command
Constructor Details
This class inherits a constructor from Net::IMAP::SASL::ClientAdapter
Instance Method Details
#drop_connection ⇒ Object
15 |
# File 'lib/net/imap/sasl_adapter.rb', line 15 def drop_connection; client.logout! end |
#drop_connection! ⇒ Object
16 |
# File 'lib/net/imap/sasl_adapter.rb', line 16 def drop_connection!; client.disconnect end |
#response_errors ⇒ Object
13 |
# File 'lib/net/imap/sasl_adapter.rb', line 13 def response_errors; RESPONSE_ERRORS end |
#sasl_ir_capable? ⇒ Boolean
14 |
# File 'lib/net/imap/sasl_adapter.rb', line 14 def sasl_ir_capable?; client.capable?("SASL-IR") end |