Sha256: 55760c3c0af2e9e25bab328791e69a393bd6792c9d2b0ac0ae6a0142da74dab3
Contents?: true
Size: 364 Bytes
Versions: 12
Compression:
Stored size: 364 Bytes
Contents
# encoding: utf-8 module Imap::Backup module Configuration; end module Configuration::ConnectionTester def self.test(account) Account::Connection.new(account).imap return 'Connection successful' rescue Net::IMAP::NoResponseError return 'No response' rescue Exception => e return "Unexpected error: #{e}" end end end
Version data entries
12 entries across 12 versions & 1 rubygems