SYMBOL INDEX (581 symbols across 118 files) FILE: features/support/env.rb class PactoWorld (line 16) | class PactoWorld FILE: lib/pacto.rb type Pacto (line 62) | module Pacto function configuration (line 64) | def configuration function contract_registry (line 68) | def contract_registry function reset (line 73) | def reset function clear! (line 79) | def clear! function configure (line 86) | def configure function contracts_for (line 90) | def contracts_for(request_signature) function validate_contract (line 95) | def validate_contract(contract) function load_contract (line 100) | def load_contract(contract_path, host, format = :legacy) function load_contracts (line 104) | def load_contracts(contracts_path, host, format = :legacy) FILE: lib/pacto/actor.rb type Pacto (line 2) | module Pacto class Actor (line 3) | class Actor FILE: lib/pacto/actors/from_examples.rb type Pacto (line 2) | module Pacto type Actors (line 3) | module Actors class FirstExampleSelector (line 4) | class FirstExampleSelector method select (line 5) | def self.select(examples, _values) class RandomExampleSelector (line 9) | class RandomExampleSelector method select (line 10) | def self.select(examples, _values) class NamedExampleSelector (line 14) | class NamedExampleSelector method select (line 15) | def self.select(examples, values) class FromExamples (line 24) | class FromExamples < Actor method initialize (line 25) | def initialize(fallback_actor = JSONGenerator.new, selector = Pact... method build_request (line 30) | def build_request(contract, values = {}) method build_response (line 45) | def build_response(contract, values = {}) method example_uri_values (line 56) | def example_uri_values(contract) FILE: lib/pacto/actors/json_generator.rb type Pacto (line 2) | module Pacto type Actors (line 3) | module Actors class JSONGenerator (line 4) | class JSONGenerator < Actor method build_request (line 5) | def build_request(contract, values = {}) method build_response (line 13) | def build_response(contract, _values = {}) FILE: lib/pacto/body_parsing.rb type Pacto (line 3) | module Pacto type Handlers (line 4) | module Handlers type BodyParsing (line 9) | module BodyParsing function raw_body (line 10) | def raw_body function parsed_body (line 17) | def parsed_body function content_type (line 23) | def content_type function body_handler (line 27) | def body_handler FILE: lib/pacto/cli.rb type Pacto (line 5) | module Pacto type CLI (line 6) | module CLI class Main (line 7) | class Main < Thor method meta_validate (line 11) | def meta_validate(*contracts) method validate (line 31) | def validate(*contracts) method validation_summary (line 50) | def validation_summary(contracts, invalid_contracts) method contract_is_valid? (line 58) | def contract_is_valid?(contract_file, host) FILE: lib/pacto/cli/helpers.rb type Pacto (line 1) | module Pacto type CLI (line 2) | module CLI type Helpers (line 3) | module Helpers function each_contract (line 4) | def each_contract(*contracts) FILE: lib/pacto/consumer.rb type Pacto (line 2) | module Pacto function consumers (line 3) | def self.consumers function simulate_consumer (line 7) | def self.simulate_consumer(consumer_name = :consumer, &block) class Consumer (line 12) | class Consumer method initialize (line 16) | def initialize(name = :consumer) method simulate (line 20) | def simulate(&block) method playback (line 24) | def playback(stenographer_script) method reset! (line 29) | def self.reset! method actor (line 33) | def actor method actor= (line 37) | def actor=(actor) method request (line 42) | def request(contract, data = {}) method reenact (line 51) | def reenact(contract, data = {}) method driver (line 58) | def driver method driver= (line 63) | def driver=(driver) method build_request (line 69) | def build_request(contract, data = {}) FILE: lib/pacto/consumer/faraday_driver.rb type Pacto (line 2) | module Pacto class Consumer (line 3) | class Consumer class FaradayDriver (line 4) | class FaradayDriver method execute (line 7) | def execute(req) method faraday_to_pacto_response (line 27) | def faraday_to_pacto_response(faraday_response) FILE: lib/pacto/contract.rb type Pacto (line 2) | module Pacto type Contract (line 3) | module Contract function adapter (line 17) | def adapter function consumer (line 21) | def consumer function provider (line 25) | def provider function examples? (line 29) | def examples? function stub_contract! (line 33) | def stub_contract!(values = {}) function simulate_request (line 38) | def simulate_request function validate_response (line 44) | def validate_response(request, response) function matches? (line 48) | def matches?(request_signature) function request_pattern (line 52) | def request_pattern function response_for (line 56) | def response_for(pacto_request) function execute (line 60) | def execute(additional_values = {}) FILE: lib/pacto/contract_factory.rb type Pacto (line 2) | module Pacto class ContractFactory (line 3) | class ContractFactory method initialize (line 7) | def initialize method add_factory (line 11) | def add_factory(format, factory) method remove_factory (line 15) | def remove_factory(format) method build (line 19) | def build(contract_files, host, format = :legacy) method load_contracts (line 26) | def load_contracts(contracts_path, host, format = :legacy) FILE: lib/pacto/contract_files.rb type Pacto (line 3) | module Pacto class ContractFiles (line 4) | class ContractFiles method for (line 5) | def self.for(path) FILE: lib/pacto/contract_set.rb type Pacto (line 2) | module Pacto class ContractSet (line 3) | class ContractSet < Set method stub_providers (line 4) | def stub_providers(values = {}) method simulate_consumers (line 8) | def simulate_consumers FILE: lib/pacto/cops.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops function reset! (line 7) | def reset! function register_cop (line 11) | def register_cop(cop) function registered_cops (line 16) | def registered_cops function active_cops (line 20) | def active_cops function investigate (line 24) | def investigate(request_signature, pacto_response) function perform_investigation (line 37) | def perform_investigation(request, response, contract) FILE: lib/pacto/cops/body_cop.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops class BodyCop (line 4) | class BodyCop method validates (line 7) | def self.validates(clause) method investigate (line 12) | def self.investigate(request, response, contract) FILE: lib/pacto/cops/request_body_cop.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops class RequestBodyCop (line 4) | class RequestBodyCop < BodyCop FILE: lib/pacto/cops/response_body_cop.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops class ResponseBodyCop (line 4) | class ResponseBodyCop < BodyCop FILE: lib/pacto/cops/response_header_cop.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops class ResponseHeaderCop (line 4) | class ResponseHeaderCop method investigate (line 5) | def self.investigate(_request, response, contract) FILE: lib/pacto/cops/response_status_cop.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops class ResponseStatusCop (line 4) | class ResponseStatusCop method investigate (line 5) | def self.investigate(_request, response, contract) FILE: lib/pacto/core/configuration.rb type Pacto (line 2) | module Pacto class Configuration (line 3) | class Configuration method initialize (line 10) | def initialize # rubocop:disable Metrics/MethodLength method logger (line 26) | def logger method stenographer_log_file (line 30) | def stenographer_log_file method register_hook (line 34) | def register_hook(hook = nil, &block) method new_simple_logger (line 45) | def new_simple_logger FILE: lib/pacto/core/contract_registry.rb type Pacto (line 2) | module Pacto class ContractNotFound (line 3) | class ContractNotFound < StandardError; end class ContractRegistry (line 5) | class ContractRegistry < Set method register (line 8) | def register(contract) method find_by_name (line 14) | def find_by_name(name) method contracts_for (line 20) | def contracts_for(request_signature) FILE: lib/pacto/core/hook.rb type Pacto (line 2) | module Pacto class Hook (line 3) | class Hook method initialize (line 4) | def initialize(&block) method process (line 8) | def process(contracts, request_signature, response) FILE: lib/pacto/core/http_middleware.rb type Pacto (line 4) | module Pacto type Core (line 5) | module Core class HTTPMiddleware (line 6) | class HTTPMiddleware method process (line 10) | def process(request, response) FILE: lib/pacto/core/investigation_registry.rb type Pacto (line 2) | module Pacto class InvestigationRegistry (line 3) | class InvestigationRegistry method initialize (line 9) | def initialize method reset! (line 13) | def self.reset! method reset! (line 17) | def reset! method validated? (line 22) | def validated?(request_pattern) method register_investigation (line 29) | def register_investigation(investigation) method unmatched_investigations (line 37) | def unmatched_investigations method failed_investigations (line 43) | def failed_investigations method stenographer (line 51) | def stenographer method create_stenographer (line 55) | def create_stenographer FILE: lib/pacto/core/modes.rb type Pacto (line 2) | module Pacto function generate! (line 4) | def generate! function stop_generating! (line 8) | def stop_generating! function generating? (line 12) | def generating? function validate! (line 16) | def validate! function stop_validating! (line 20) | def stop_validating! function validating? (line 24) | def validating? function modes (line 30) | def modes FILE: lib/pacto/core/pacto_request.rb type Pacto (line 4) | module Pacto class PactoRequest (line 5) | class PactoRequest method initialize (line 11) | def initialize(data) method to_hash (line 20) | def to_hash method to_s (line 29) | def to_s method relative_uri (line 36) | def relative_uri method normalize (line 42) | def normalize FILE: lib/pacto/core/pacto_response.rb type Pacto (line 2) | module Pacto class PactoResponse (line 3) | class PactoResponse method initialize (line 10) | def initialize(data) method to_hash (line 17) | def to_hash method to_s (line 25) | def to_s FILE: lib/pacto/dash.rb type Pacto (line 4) | module Pacto class Dash (line 5) | class Dash < Hashie::Dash FILE: lib/pacto/erb_processor.rb type Pacto (line 2) | module Pacto class ERBProcessor (line 3) | class ERBProcessor method process (line 5) | def process(contract, values = {}) method hash_binding (line 14) | def hash_binding(values) FILE: lib/pacto/errors.rb type Pacto (line 1) | module Pacto class InvalidContract (line 2) | class InvalidContract < ArgumentError method initialize (line 5) | def initialize(errors) method message (line 9) | def message type Errors (line 14) | module Errors function formatted_trace (line 33) | def self.formatted_trace(exception) function formatted_exception (line 59) | def self.formatted_exception(exception, title = 'Exception') FILE: lib/pacto/extensions.rb type Pacto (line 2) | module Pacto type Extensions (line 3) | module Extensions function normalize_header_keys (line 13) | def self.normalize_header_keys(headers) FILE: lib/pacto/forensics/investigation_filter.rb type Pacto (line 2) | module Pacto type Forensics (line 3) | module Forensics class FilterExhaustedError (line 4) | class FilterExhaustedError < StandardError method initialize (line 7) | def initialize(msg, filter, suspects = []) class InvestigationFilter (line 18) | class InvestigationFilter method initialize (line 23) | def initialize(investigations, track_suspects = true) method with_name (line 30) | def with_name(contract_name) method with_request (line 39) | def with_request(request_constraints) method with_response (line 47) | def with_response(response_constraints) method successful_investigations (line 55) | def successful_investigations method unsuccessful_investigations (line 59) | def unsuccessful_investigations method filter_request_section (line 65) | def filter_request_section(section, filter) method filter_response_section (line 76) | def filter_response_section(section, filter) FILE: lib/pacto/forensics/investigation_matcher.rb function describe (line 23) | def describe(obj) FILE: lib/pacto/formats/legacy/contract.rb type Pacto (line 5) | module Pacto type Formats (line 6) | module Formats type Legacy (line 7) | module Legacy class Contract (line 8) | class Contract < Pacto::Dash method initialize (line 28) | def initialize(opts) method freeze (line 40) | def freeze FILE: lib/pacto/formats/legacy/contract_builder.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy class ContractBuilder (line 5) | class ContractBuilder < Hashie::Dash # rubocop:disable Metrics/Cla... method initialize (line 9) | def initialize(options = {}) method name= (line 16) | def name=(name) method add_example (line 20) | def add_example(name, pacto_request, pacto_response) method infer_all (line 27) | def infer_all method infer_name (line 33) | def infer_name method infer_schemas (line 44) | def infer_schemas method without_examples (line 56) | def without_examples method generate_contract (line 61) | def generate_contract(request, response) method generate_request (line 68) | def generate_request(request, response) method generate_response (line 80) | def generate_response(request, response) method build_hash (line 89) | def build_hash method build (line 96) | def build(&block) method example_and_hint (line 102) | def example_and_hint method exclude_examples? (line 108) | def exclude_examples? method generate_schema (line 112) | def generate_schema(body, generator_options = Pacto.configuratio... method clean (line 119) | def clean(data) method hint_for (line 123) | def hint_for(pacto_request) FILE: lib/pacto/formats/legacy/contract_factory.rb type Pacto (line 4) | module Pacto type Formats (line 5) | module Formats type Legacy (line 6) | module Legacy class ContractFactory (line 8) | class ContractFactory method initialize (line 11) | def initialize(options = {}) method build_from_file (line 15) | def build_from_file(contract_path, host) method files_for (line 28) | def files_for(contracts_dir) method body_to_schema (line 43) | def body_to_schema(definition, section, file) method method_to_http_method (line 51) | def method_to_http_method(definition, file) FILE: lib/pacto/formats/legacy/contract_generator.rb type Pacto (line 6) | module Pacto type Formats (line 7) | module Formats type Legacy (line 8) | module Legacy class ContractGenerator (line 9) | class ContractGenerator method initialize (line 12) | def initialize(_schema_version = 'draft3', method generate (line 22) | def generate(pacto_request, pacto_response) method generate_from_partial_contract (line 42) | def generate_from_partial_contract(request_file, host) method save (line 48) | def save(source, request, response) method load_contract_file (line 63) | def load_contract_file(pacto_request) FILE: lib/pacto/formats/legacy/generator/filters.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy type Generator (line 5) | module Generator class Filters (line 6) | class Filters method filter_request_headers (line 24) | def filter_request_headers(request, response) method filter_response_headers (line 37) | def filter_response_headers(_request, response) FILE: lib/pacto/formats/legacy/generator_hint.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy class GeneratorHint (line 5) | class GeneratorHint < Pacto::Dash method initialize (line 15) | def initialize(data) method matches? (line 23) | def matches?(pacto_request) method slugify (line 30) | def slugify(path) FILE: lib/pacto/formats/legacy/request_clause.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy class RequestClause (line 5) | class RequestClause < Pacto::Dash class Data (line 13) | class Data < Pacto::Dash method initialize (line 22) | def initialize(data) method freeze (line 32) | def freeze FILE: lib/pacto/formats/legacy/response_clause.rb type Pacto (line 1) | module Pacto type Formats (line 2) | module Formats type Legacy (line 3) | module Legacy class ResponseClause (line 4) | class ResponseClause class Data (line 12) | class Data < Pacto::Dash method initialize (line 18) | def initialize(data) method freeze (line 24) | def freeze FILE: lib/pacto/formats/swagger/contract.rb type Pacto (line 6) | module Pacto type Formats (line 7) | module Formats type Swagger (line 8) | module Swagger class Contract (line 9) | class Contract < Pacto::Dash method initialize (line 31) | def initialize(swagger_api_operation, base_data = {}) # rubocop:... method build_examples (line 61) | def build_examples(response) FILE: lib/pacto/formats/swagger/contract_factory.rb type Pacto (line 5) | module Pacto type Formats (line 6) | module Formats type Swagger (line 7) | module Swagger class ContractFactory (line 9) | class ContractFactory method load_hints (line 12) | def load_hints(_contract_path, _host = nil) method build_from_file (line 16) | def build_from_file(contract_path, host = nil) method files_for (line 29) | def files_for(contracts_dir) FILE: lib/pacto/formats/swagger/request_clause.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Swagger (line 4) | module Swagger class RequestClause (line 5) | class RequestClause method initialize (line 14) | def initialize(swagger_api_operation, base_data = {}) method schema (line 20) | def schema method params (line 26) | def params method headers (line 32) | def headers method to_hash (line 38) | def to_hash method body_parameter (line 46) | def body_parameter FILE: lib/pacto/formats/swagger/response_clause.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Swagger (line 4) | module Swagger class ResponseClause (line 5) | class ResponseClause method initialize (line 12) | def initialize(swagger_response, _base_data = {}) method status (line 16) | def status method headers (line 20) | def headers method schema (line 24) | def schema FILE: lib/pacto/generator.rb type Pacto (line 5) | module Pacto type Generator (line 6) | module Generator function contract_generator (line 11) | def contract_generator function schema_generator (line 16) | def schema_generator function configuration (line 20) | def configuration function configure (line 24) | def configure function hint_for (line 28) | def hint_for(pacto_request) class Configuration (line 33) | class Configuration method initialize (line 36) | def initialize method hint (line 40) | def hint(name, hint_data) FILE: lib/pacto/handlers/json_handler.rb type Pacto (line 3) | module Pacto type Handlers (line 4) | module Handlers type JSONHandler (line 5) | module JSONHandler function raw (line 7) | def raw(body) function parse (line 11) | def parse(body) FILE: lib/pacto/handlers/text_handler.rb type Pacto (line 1) | module Pacto type Handlers (line 2) | module Handlers type TextHandler (line 3) | module TextHandler function raw (line 5) | def raw(body) function parse (line 9) | def parse(body) FILE: lib/pacto/hooks/erb_hook.rb type Pacto (line 4) | module Pacto type Hooks (line 5) | module Hooks class ERBHook (line 6) | class ERBHook < Pacto::Hook method initialize (line 7) | def initialize method process (line 11) | def process(contracts, request_signature, response) FILE: lib/pacto/investigation.rb type Pacto (line 2) | module Pacto class Investigation (line 3) | class Investigation method initialize (line 7) | def initialize(request, response, contract = nil, citations = nil) method successful? (line 14) | def successful? method against_contract? (line 18) | def against_contract?(contract_pattern) method to_s (line 29) | def to_s method summary (line 40) | def summary FILE: lib/pacto/logger.rb type Pacto (line 4) | module Pacto type Logger (line 5) | module Logger function logger (line 6) | def logger class SimpleLogger (line 10) | class SimpleLogger method initialize (line 16) | def initialize method log (line 20) | def log(log) method level= (line 26) | def level=(level) method level (line 30) | def level method default_level (line 36) | def default_level method log_levels (line 40) | def log_levels FILE: lib/pacto/meta_schema.rb type Pacto (line 2) | module Pacto class MetaSchema (line 3) | class MetaSchema method initialize (line 6) | def initialize(engine = JSON::Validator) method validate (line 20) | def validate(definition) FILE: lib/pacto/observers/stenographer.rb type Pacto (line 2) | module Pacto type Observers (line 3) | module Observers class Stenographer (line 4) | class Stenographer method initialize (line 5) | def initialize(output) method log_investigation (line 9) | def log_investigation(investigation) method name_for (line 25) | def name_for(contract, request) method number_of_citations (line 30) | def number_of_citations(investigation) method values_for (line 36) | def values_for(_contract, request) FILE: lib/pacto/provider.rb type Pacto (line 2) | module Pacto function providers (line 3) | def self.providers class Provider (line 7) | class Provider method reset! (line 10) | def self.reset! method actor (line 14) | def actor method actor= (line 18) | def actor=(actor) method response_for (line 23) | def response_for(contract, data = {}) FILE: lib/pacto/rake_task.rb type Pacto (line 9) | module Pacto class RakeTask (line 10) | class RakeTask method initialize (line 16) | def initialize method run (line 21) | def run(task, args, opts = {}) method install (line 25) | def install method validate_task (line 34) | def validate_task method generate_task (line 43) | def generate_task method meta_validate (line 54) | def meta_validate method generate_contracts (line 65) | def generate_contracts(input_dir, output_dir, host) FILE: lib/pacto/request_clause.rb type Pacto (line 2) | module Pacto type RequestClause (line 3) | module RequestClause function http_method= (line 13) | def http_method=(method) function uri (line 17) | def uri(values = {}) function normalize (line 31) | def normalize(method) FILE: lib/pacto/request_pattern.rb type Pacto (line 2) | module Pacto class RequestPattern (line 3) | class RequestPattern < WebMock::RequestPattern method for (line 6) | def self.for(base_request) method initialize (line 10) | def initialize(http_method, uri_template) method to_s (line 15) | def to_s FILE: lib/pacto/resettable.rb type Pacto (line 2) | module Pacto type Resettable (line 4) | module Resettable function resettables (line 5) | def self.resettables function extended (line 9) | def self.extended(base) function included (line 13) | def self.included(base) function reset_all (line 17) | def self.reset_all FILE: lib/pacto/response_clause.rb type Pacto (line 2) | module Pacto type ResponseClause (line 3) | module ResponseClause FILE: lib/pacto/rspec.rb function validated? (line 60) | def validated?(_request_pattern) function investigation_citations (line 66) | def investigation_citations function successfully? (line 70) | def successfully? function contract_matches? (line 74) | def contract_matches? FILE: lib/pacto/server.rb type Pacto (line 7) | module Pacto type Server (line 8) | module Server class HTTP (line 9) | class HTTP < Reel::Server::HTTP method initialize (line 13) | def initialize(host = '127.0.0.1', port = 3000, options = {}) method on_connection (line 20) | def on_connection(connection) FILE: lib/pacto/server/cli.rb type Pacto (line 4) | module Pacto type Server (line 5) | module Server class CLI (line 6) | class CLI < Thor method server_options (line 25) | def server_options method stub (line 38) | def stub(*_contracts) method proxy (line 49) | def proxy(*_contracts) method setup_interrupt (line 58) | def setup_interrupt FILE: lib/pacto/server/proxy.rb type Pacto (line 1) | module Pacto type Server (line 2) | module Server type Proxy (line 3) | module Proxy function proxy_request (line 4) | def proxy_request(pacto_request) function prepare_to_forward (line 12) | def prepare_to_forward(pacto_request) function rewrite (line 25) | def rewrite(body) function forward (line 33) | def forward(pacto_request) function prepare_to_respond (line 37) | def prepare_to_respond(pacto_response) function host_for (line 43) | def host_for(pacto_request) FILE: lib/pacto/server/settings.rb type Pacto (line 2) | module Pacto type Server (line 3) | module Server type Settings (line 4) | module Settings function options_parser (line 5) | def options_parser(opts, options) # rubocop:disable MethodLength class OptionHandler (line 28) | class OptionHandler method initialize (line 31) | def initialize(port, logger, config = {}) method token_map (line 35) | def token_map method prepare_contracts (line 43) | def prepare_contracts(contracts) method handle (line 47) | def handle(options) # rubocop:disable Metrics/CyclomaticComplexi... FILE: lib/pacto/stubs/uri_pattern.rb type Pacto (line 2) | module Pacto class UriPattern (line 3) | class UriPattern method for (line 5) | def for(request, strict = Pacto.configuration.strict_matchers) method build_template_uri_pattern (line 11) | def build_template_uri_pattern(request, strict) method fail_deprecations (line 25) | def fail_deprecations(request) FILE: lib/pacto/stubs/webmock_adapter.rb type Pacto (line 2) | module Pacto type Adapters (line 3) | module Adapters type WebMock (line 4) | module WebMock class PactoRequest (line 5) | class PactoRequest < Pacto::PactoRequest method initialize (line 9) | def initialize(webmock_request_signature) method params (line 13) | def params method path (line 17) | def path class PactoResponse (line 22) | class PactoResponse < Pacto::PactoResponse method initialize (line 26) | def initialize(webmock_response) method headers (line 30) | def headers method status (line 34) | def status type Stubs (line 41) | module Stubs class WebMockAdapter (line 42) | class WebMockAdapter method initialize (line 45) | def initialize(middleware) method stub_request! (line 53) | def stub_request!(contract) method reset! (line 74) | def self.reset! method process_hooks (line 79) | def process_hooks(webmock_request_signature, webmock_response) method format_body (line 87) | def format_body(body) method strict_details (line 95) | def strict_details(request) method webmock_params_key (line 102) | def webmock_params_key(request) FILE: lib/pacto/test_helper.rb type Pacto (line 9) | module Pacto type TestHelper (line 10) | module TestHelper function with_pacto (line 28) | def with_pacto(args = {}) FILE: lib/pacto/ui.rb type Pacto (line 4) | module Pacto type UI (line 5) | module UI function shell (line 16) | def self.shell function deprecation (line 20) | def self.deprecation(msg) function colorize (line 24) | def self.colorize(msg, color) function colorize_method (line 30) | def self.colorize_method(method) FILE: lib/pacto/uri.rb type Pacto (line 2) | module Pacto class URI (line 3) | class URI method for (line 4) | def self.for(host, path, params = {}) FILE: lib/pacto/version.rb type Pacto (line 2) | module Pacto FILE: sample_apis/album/cover_api.rb type AlbumServices (line 2) | module AlbumServices class Cover (line 3) | class Cover < Grape::API FILE: sample_apis/echo_api.rb type DummyServices (line 4) | module DummyServices class Echo (line 5) | class Echo < Grape::API method echo (line 10) | def echo(message) FILE: sample_apis/files_api.rb type DummyServices (line 9) | module DummyServices class PartialRequestException (line 10) | class PartialRequestException < StandardError method initialize (line 12) | def initialize(http_status, msg) class Files (line 18) | class Files < Grape::API FILE: sample_apis/hello_api.rb type DummyServices (line 3) | module DummyServices class Hello (line 4) | class Hello < Grape::API FILE: sample_apis/ping_api.rb type DummyServices (line 3) | module DummyServices class Ping (line 4) | class Ping < Grape::API FILE: sample_apis/reverse_api.rb type DummyServices (line 4) | module DummyServices class Reverse (line 5) | class Reverse < Grape::API method echo (line 9) | def echo(message) FILE: sample_apis/user_api.rb type DummyServices (line 6) | module DummyServices class Echo (line 7) | class Echo < Grape::API FILE: samples/cops.rb class MyCustomCop (line 13) | class MyCustomCop method investigate (line 14) | def investigate(_request, _response, contract) FILE: spec/integration/e2e_spec.rb function get_json (line 49) | def get_json(url) FILE: spec/integration/forensics/integration_matcher_spec.rb type Pacto (line 4) | module Pacto function expect_to_raise (line 9) | def expect_to_raise(message_pattern = nil, &blk) function json_response (line 13) | def json_response(url) function play_bad_response (line 20) | def play_bad_response FILE: spec/integration/rspec_spec.rb function expect_to_raise (line 14) | def expect_to_raise(message_pattern = nil, &blk) function json_response (line 18) | def json_response(url) function play_bad_response (line 25) | def play_bad_response FILE: spec/spec_helper.rb function default_pacto_format (line 24) | def default_pacto_format function contracts_folder (line 28) | def contracts_folder(format = default_pacto_format) function contract_file (line 32) | def contract_file(name, format = default_pacto_format) function sample_contract (line 38) | def sample_contract FILE: spec/unit/actors/from_examples_spec.rb type Pacto (line 2) | module Pacto type Actors (line 3) | module Actors FILE: spec/unit/actors/json_generator_spec.rb type Pacto (line 24) | module Pacto type Actors (line 25) | module Actors FILE: spec/unit/pacto/configuration_spec.rb type Pacto (line 2) | module Pacto FILE: spec/unit/pacto/consumer/faraday_driver_spec.rb type Pacto (line 2) | module Pacto class Consumer (line 3) | class Consumer FILE: spec/unit/pacto/contract_factory_spec.rb type Pacto (line 4) | module Pacto class CustomContractFactory (line 25) | class CustomContractFactory method initialize (line 26) | def initialize(dummy_contract) method build_from_file (line 30) | def build_from_file(_contract_path, _host) class MultiContractFactory (line 47) | class MultiContractFactory method initialize (line 48) | def initialize(contracts) method build_from_file (line 52) | def build_from_file(_contract_path, _host) FILE: spec/unit/pacto/contract_files_spec.rb type Pacto (line 5) | module Pacto FILE: spec/unit/pacto/contract_set_spec.rb type Pacto (line 4) | module Pacto FILE: spec/unit/pacto/cops/body_cop_spec.rb type Pacto (line 97) | module Pacto type Cops (line 98) | module Cops FILE: spec/unit/pacto/cops/response_header_cop_spec.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops FILE: spec/unit/pacto/cops/response_status_cop_spec.rb type Pacto (line 2) | module Pacto type Cops (line 3) | module Cops FILE: spec/unit/pacto/cops_spec.rb type Pacto (line 2) | module Pacto FILE: spec/unit/pacto/core/contract_registry_spec.rb type Pacto (line 4) | module Pacto function create_contracts (line 40) | def create_contracts(total, matches) function register_contracts (line 48) | def register_contracts(contracts) FILE: spec/unit/pacto/core/http_middleware_spec.rb type Pacto (line 2) | module Pacto type Core (line 3) | module Core class FailingObserver (line 9) | class FailingObserver method raise_error (line 10) | def raise_error(_pacto_request, _pacto_response) FILE: spec/unit/pacto/core/investigation_spec.rb type Pacto (line 2) | module Pacto FILE: spec/unit/pacto/erb_processor_spec.rb type Pacto (line 2) | module Pacto FILE: spec/unit/pacto/extensions_spec.rb type Pacto (line 2) | module Pacto FILE: spec/unit/pacto/formats/legacy/contract_builder_spec.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy FILE: spec/unit/pacto/formats/legacy/contract_factory_spec.rb type Pacto (line 4) | module Pacto type Formats (line 5) | module Formats type Legacy (line 6) | module Legacy FILE: spec/unit/pacto/formats/legacy/contract_generator_spec.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy function pretty (line 39) | def pretty(obj) FILE: spec/unit/pacto/formats/legacy/contract_spec.rb type Pacto (line 4) | module Pacto type Formats (line 5) | module Formats type Legacy (line 6) | module Legacy FILE: spec/unit/pacto/formats/legacy/generator/filters_spec.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy type Generator (line 5) | module Generator FILE: spec/unit/pacto/formats/legacy/request_clause_spec.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy FILE: spec/unit/pacto/formats/legacy/response_clause_spec.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Legacy (line 4) | module Legacy FILE: spec/unit/pacto/formats/swagger/contract_factory_spec.rb type Pacto (line 2) | module Pacto type Formats (line 3) | module Formats type Swagger (line 4) | module Swagger FILE: spec/unit/pacto/formats/swagger/contract_spec.rb type Pacto (line 4) | module Pacto type Formats (line 5) | module Formats type Swagger (line 6) | module Swagger FILE: spec/unit/pacto/hooks/erb_hook_spec.rb function mock_erb (line 55) | def mock_erb(hash) FILE: spec/unit/pacto/logger_spec.rb type Pacto (line 2) | module Pacto type Logger (line 3) | module Logger FILE: spec/unit/pacto/meta_schema_spec.rb type Pacto (line 2) | module Pacto FILE: spec/unit/pacto/pacto_spec.rb function output (line 11) | def output function mock_investigation (line 15) | def mock_investigation(errors) FILE: spec/unit/pacto/request_pattern_spec.rb type Pacto (line 4) | module Pacto FILE: spec/unit/pacto/stubs/observers/stenographer_spec.rb type Pacto (line 4) | module Pacto type Observers (line 5) | module Observers FILE: spec/unit/pacto/stubs/uri_pattern_spec.rb type Pacto (line 4) | module Pacto FILE: spec/unit/pacto/stubs/webmock_adapter_spec.rb type Pacto (line 2) | module Pacto type Stubs (line 3) | module Stubs FILE: spec/unit/pacto/uri_spec.rb type Pacto (line 4) | module Pacto FILE: tasks/release.rake function github (line 3) | def github function release_tag (line 7) | def release_tag function release (line 11) | def release function changelog (line 15) | def changelog function confirm (line 20) | def confirm(question, data)