class PactBroker::Api::Decorators::DeprecatedPacticipantCollectionDecorator

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/pacticipant_collection_decorator.rb, line 46
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