Sha256: ef7b99273e974d260648d49e207f4d85c6b929b60fe2f2cef22e992f4081def1

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

require 'forwardable'
class Faraday::CLI::MiddlewareFetcher::Container

  extend Forwardable
  def_delegator :@builder, :use

  def initialize(conn)
    @builder = conn.builder
  end

  def merge!(file_path)
    instance_eval(File.read(file_path))
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faraday-cli-0.1.0 lib/faraday/cli/middleware_fetcher/container.rb