Sha256: 610d491b0d35b2785a136c93d6d552e298bab562346091a0aa52c70411f58459
Contents?: true
Size: 524 Bytes
Versions: 36
Compression:
Stored size: 524 Bytes
Contents
require 'pact_broker/client/hal' module PactBroker module Client module HalClientMethods def create_index_entry_point(pact_broker_base_url, pact_broker_client_options) PactBroker::Client::Hal::EntryPoint.new(pact_broker_base_url, create_http_client(pact_broker_client_options)) end def create_http_client(pact_broker_client_options) PactBroker::Client::Hal::HttpClient.new(pact_broker_client_options.merge(pact_broker_client_options[:basic_auth] || {})) end end end end
Version data entries
36 entries across 36 versions & 1 rubygems