Sha256: e6026f2af388080d849ace650b0ca3672554339a7c8f17f603561eb968802a3f
Contents?: true
Size: 475 Bytes
Versions: 4
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'aranha/temporary_errors_manager' module Aranha class AddressProcessor enable_simple_cache common_constructor :address def successful? error.blank? end def rescuable_error? ::Aranha::TemporaryErrorsManager.temporary_error?(error) end private def error_uncached address.process nil rescue ::StandardError => e e end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aranha-0.19.2 | lib/aranha/address_processor.rb |
aranha-0.19.1 | lib/aranha/address_processor.rb |
aranha-0.19.0 | lib/aranha/address_processor.rb |
aranha-0.18.0 | lib/aranha/address_processor.rb |