Class: PactBroker::Api::Decorators::PactCollectionDecorator
- Inherits:
-
BaseDecorator
- Object
- Roar::Decorator
- BaseDecorator
- PactBroker::Api::Decorators::PactCollectionDecorator
show all
- Includes:
- PactBrokerUrls, Roar::Representer::JSON::HAL
- Defined in:
- lib/pact_broker/api/decorators/pact_collection_decorator.rb
Instance Method Summary
collapse
#hal_browser_url, #latest_pact_url, #latest_pacts_url, #latest_version_url, #pact_url, #pact_url_from_params, #pact_versions_url, #pacticipant_url, #pacticipants_url, #tag_url, #tags_url, #url_encode, #version_url, #versions_url, #webhook_execution_url, #webhook_url, #webhooks_for_pact_url, #webhooks_url
Instance Method Details
#create_representable_pact(pact) ⇒ Object
#pacts ⇒ Object
18
19
20
|
# File 'lib/pact_broker/api/decorators/pact_collection_decorator.rb', line 18
def pacts
represented.collect{ | pact | create_representable_pact(pact) }
end
|