class PactBroker::Api::Decorators::PactCollectionDecorator

Public Instance Methods

create_representable_pact(pact) click to toggle source
# File lib/pact_broker/api/decorators/pact_collection_decorator.rb, line 20
def create_representable_pact pact
  PactBroker::Api::Decorators::RepresentablePact.new(pact)
end
pacts() click to toggle source
# File lib/pact_broker/api/decorators/pact_collection_decorator.rb, line 16
def pacts
  represented.collect{ | pact | create_representable_pact(pact) }
end