Sha256: c26e973d6c9d68ca0a970d49b3bd91b8af17f909362c453ae96c6f22dbf10a69

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

module Proxy
  module ContainerGateway
    module DependencyInjection
      include Proxy::DependencyInjection::Accessors
      def container_instance
        @container_instance ||= ::Proxy::Plugins.instance.find { |p| p[:name] == :container_gateway }[:di_container]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smart_proxy_container_gateway-3.2.0 lib/smart_proxy_container_gateway/dependency_injection.rb
smart_proxy_container_gateway-3.1.1 lib/smart_proxy_container_gateway/dependency_injection.rb
smart_proxy_container_gateway-3.1.0 lib/smart_proxy_container_gateway/dependency_injection.rb
smart_proxy_container_gateway-2.0.0 lib/smart_proxy_container_gateway/dependency_injection.rb