Sha256: 0bf9277d8c2f60d55e4e6ba2811b93c43318eb9bc8979bf2cd33e8d3fa35cf12
Contents?: true
Size: 868 Bytes
Versions: 7
Compression:
Stored size: 868 Bytes
Contents
require 'pact/provider/state/provider_state' require 'pact/provider/state/provider_state_configured_modules' module Pact module Provider module Configuration module ConfigurationExtension def provider= provider @provider = provider end def provider if defined? @provider @provider else raise "Please configure your provider. See the Provider section in the README for examples." end end def config_ru_path @config_ru_path ||= './config.ru' end def config_ru_path= config_ru_path @config_ru_path = config_ru_path end def include mod Pact::Provider::State::ProviderStateConfiguredModules.instance_eval do include mod end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems