class PactBroker::Api::Decorators::PactDecorator

Public Instance Methods

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