module Pact

Protected, exposed through Pact.term and Pact.like, and included in Pact::Consumer::RSpec

@api public. Used by lib/pact/provider/rspec/pact_broker_formatter.rb

Ripped with appreciation from Joshua Hull's useful JsonPath gem github.com/joshbuddy/jsonpath/blob/792ff9a928998f4252692cd3c1ba378ed931a5aa/lib/jsonpath.rb Only including the code that Pact needs, to reduce dependencies and potential gem version clashes.

This is horrible, must work out a better way of doing this

The support you need when you use ActiveSupport

Public Class Methods

clear_configuration() click to toggle source
# File lib/pact/configuration.rb, line 190
def self.clear_configuration
  @configuration = nil
end
configuration() click to toggle source
# File lib/pact/configuration.rb, line 182
def self.configuration
  @configuration ||= Configuration.default_configuration
end
configure() { |configuration| ... } click to toggle source
# File lib/pact/configuration.rb, line 186
def self.configure
  yield configuration
end