Sha256: bc4f6087e6ed7882ea148685955881c8ebad1bef43e5a43afa7a80fc56f454c2

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

# -*- encoding : utf-8 -*-
module Pacto
  class ContractSet < Set
    def stub_providers(values = {})
      each { |contract| contract.stub_contract!(values) }
    end

    def simulate_consumers
      map(&:simulate_request)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pacto-0.4.0.rc3 lib/pacto/contract_set.rb
pacto-0.4.0.rc2 lib/pacto/contract_set.rb
pacto-0.4.0.rc1 lib/pacto/contract_set.rb