Sha256: 0e48bbec065ed8753f078ab9e81b182a3d33e7b4800f6405719696da32975911

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

require 'pact/consumer_contract/pact_file'

module PactBroker
  module Provider
    class PactSource

      attr_reader :uri

      def initialize uri
        @uri = uri
      end

      def pact_json
        @pact_json ||= Pact::PactFile.read(uri, {})
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pact-1.6.0 lib/pact/provider/pact_source.rb
pact-1.5.0 lib/pact/provider/pact_source.rb