diff options
| author | mo <mo@mokhan.ca> | 2018-11-10 21:36:05 -0700 |
|---|---|---|
| committer | mo <mo@mokhan.ca> | 2018-11-10 21:36:05 -0700 |
| commit | fb531b832279884b713cc8a381e8b92f7c9fbbd0 (patch) | |
| tree | c8aa9dd0959740c106b7c0faa43e168465457fc2 /lib/net/hippie.rb | |
| parent | aa895cfe05a82195671d7290d78b6480652363ab (diff) | |
revert constant name.
Diffstat (limited to 'lib/net/hippie.rb')
| -rw-r--r-- | lib/net/hippie.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/net/hippie.rb b/lib/net/hippie.rb index 9a7ea72..6c39a50 100644 --- a/lib/net/hippie.rb +++ b/lib/net/hippie.rb @@ -14,9 +14,12 @@ require 'net/hippie/api' module Net # net/http for hippies. module Hippie - TIMEOUT_ERRORS = [ - EOFError, Errno::ECONNRESET, Errno::EINVAL, - Net::ProtocolError, Timeout::Error + CONNECTION_ERRORS = [ + EOFError, + Errno::ECONNRESET, + Errno::EINVAL, + Net::ProtocolError, + Timeout::Error ].freeze def self.logger |
