class PactBroker::Api::Decorators::PactDecorator

Public Instance Methods

to_hash(*) click to toggle source
Calls superclass method
# File lib/pact_broker/api/decorators/pact_decorator.rb, line 12
def to_hash(*)
  parsed_content = represented.content_hash
  if parsed_content.is_a?(::Hash)
    parsed_content.merge super
  else
    parsed_content
  end
end