Sha256: 8a19f172ce700ffd913e3d043cb7518db05e72e266b327eaf8c036b4a8f791e1

Contents?: true

Size: 533 Bytes

Versions: 12

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

module Truemail
  module Audit
    class Base < Truemail::Worker
      require 'net/http'
      require 'ipaddr'
      require 'resolv'

      private

      def add_warning(message)
        result.warnings[self.class.name.split('::').last.downcase.to_sym] = message
      end

      def current_host_ip
        result.current_host_ip
      end

      def configuration
        result.configuration
      end

      def verifier_domain
        configuration.verifier_domain
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
truemail-2.2.3 lib/truemail/audit/base.rb
truemail-2.2.2 lib/truemail/audit/base.rb
truemail-2.2.1 lib/truemail/audit/base.rb
truemail-2.2.0 lib/truemail/audit/base.rb
truemail-2.1.0 lib/truemail/audit/base.rb
truemail-2.0.2 lib/truemail/audit/base.rb
truemail-2.0.1 lib/truemail/audit/base.rb
truemail-2.0.0 lib/truemail/audit/base.rb
truemail-1.9.2 lib/truemail/audit/base.rb
truemail-1.9.1 lib/truemail/audit/base.rb
truemail-1.9.0 lib/truemail/audit/base.rb
truemail-1.8.0 lib/truemail/audit/base.rb