Sha256: e534ca962aa62759ae8a0fab33655a6e7bc4a0633c3fe2dbb24f8cfbc0e6a82d
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
# frozen_string_literal: true module Solid::Adapters class Proxy < Core::Proxy::Base AlwaysEnabled = ::Class.new(Core::Proxy::Base) def self.new(object) Core::Config.instance.proxy_enabled ? super : object end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solid-adapters-1.1.0 | lib/solid/adapters/proxy.rb |
solid-adapters-1.0.0 | lib/solid/adapters/proxy.rb |