class Pact::Provider::VerificationReport
def as_json options = {}
def as_json options = {} to_hash end
def initialize (options)
def initialize (options) @consumer = options[:consumer] @provider = options[:provider] @result = options[:result] @output = options[:output] end
def report_file_name
def report_file_name file_name("#{@consumer[:name]}_#{@consumer[:ref]}", "#{@provider[:name]}_#{@provider[:ref]}") end
def to_hash
def to_hash { :consumer => @consumer, :provider => @provider, :result => @result, :output => @output } end
def to_json(options = {})
def to_json(options = {}) as_json.to_json(options) end