class PactBroker::Api::Decorators::DeprecatedPacticipantsDecorator

TODO deprecate this - breaking change for v 3.0

Public Instance Methods

to_hash(options) click to toggle source
Calls superclass method
# File lib/pact_broker/api/decorators/pacticipants_decorator.rb, line 53
def to_hash(options)
  embedded_pacticipant_hash = super
  non_embedded_pacticipant_hash = NonEmbeddedPacticipantCollectionDecorator.new(represented).to_hash(options)
  embedded_pacticipant_hash.merge(non_embedded_pacticipant_hash)
end