class PactBroker::Client::PactHash
Public Instance Methods
consumer_name()
click to toggle source
# File lib/pact_broker/client/pact_hash.rb, line 10 def consumer_name self[:consumer][:name] end
pact_name()
click to toggle source
# File lib/pact_broker/client/pact_hash.rb, line 6 def pact_name "#{consumer_name}/#{provider_name} pact" end
provider_name()
click to toggle source
# File lib/pact_broker/client/pact_hash.rb, line 14 def provider_name self[:provider][:name] end