Class: Imap::Backup::Email::Provider::Base
- Inherits:
-
Object
- Object
- Imap::Backup::Email::Provider::Base
- Defined in:
- lib/imap/backup/email/provider/base.rb
Overview
Supplies defaults for email provider behaviour
Direct Known Subclasses
Instance Method Summary collapse
-
#folder_ignore_tags ⇒ Array<Symbol>
Tags to ignore when listing folders.
-
#options ⇒ Hash
Defaults for the Net::IMAP connection.
-
#root ⇒ String?
By default, we query the server for this value.
- #sets_seen_flags_on_fetch? ⇒ Boolean
Instance Method Details
#folder_ignore_tags ⇒ Array<Symbol>
Returns tags to ignore when listing folders.
10 11 12 |
# File 'lib/imap/backup/email/provider/base.rb', line 10 def [] end |
#options ⇒ Hash
Returns defaults for the Net::IMAP connection.
15 16 17 |
# File 'lib/imap/backup/email/provider/base.rb', line 15 def {port: 993, ssl: {min_version: OpenSSL::SSL::TLS1_2_VERSION}} end |
#root ⇒ String?
By default, we query the server for this value. It is only fixed for Apple Mail accounts.
22 23 |
# File 'lib/imap/backup/email/provider/base.rb', line 22 def root end |
#sets_seen_flags_on_fetch? ⇒ Boolean
25 26 27 |
# File 'lib/imap/backup/email/provider/base.rb', line 25 def sets_seen_flags_on_fetch? false end |