Sha256: deb2195d927abf86c8b9e576d6f9afd0a766bcb4a72705cda0e4563edfa9d719

Contents?: true

Size: 247 Bytes

Versions: 21

Compression:

Stored size: 247 Bytes

Contents

# frozen_string_literal: true

require "redis"

module NeetoCommonsBackend
  module SharedRedis
    class << self
      def client
        @@_client ||= Redis.new(ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE })
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
neeto-commons-backend-1.0.89 lib/neeto_commons_backend/initializers/shared_redis.rb