Sha256: 2baea222beae4157de6115374f12b6e229e6c2d48ebf3b04d88f1122c50b8ef8
Contents?: true
Size: 483 Bytes
Versions: 37
Compression:
Stored size: 483 Bytes
Contents
require 'erb' module PactBroker module UI module Helpers module URLHelper extend self def group_url pacticipant_name, base_url = '' "#{base_url}/groups/#{ERB::Util.url_encode(pacticipant_name)}" end def matrix_url consumer_name, provider_name, base_url = '' "#{base_url}/matrix/provider/#{ERB::Util.url_encode(provider_name)}/consumer/#{ERB::Util.url_encode(consumer_name)}" end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems