Class: PactBroker::Api::Decorators::PactDecorator
- Inherits:
-
BaseDecorator
- Object
- Roar::Decorator
- BaseDecorator
- PactBroker::Api::Decorators::PactDecorator
- Includes:
- Timestamps
- Defined in:
- lib/pact_broker/api/decorators/pact_decorator.rb
Instance Method Summary collapse
Methods included from Timestamps
Methods included from PactBrokerUrls
#hal_browser_url, #latest_pact_url, #latest_pacts_url, #latest_version_url, #pact_url, #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
#to_hash(options = {}) ⇒ Object
15 16 17 |
# File 'lib/pact_broker/api/decorators/pact_decorator.rb', line 15 def to_hash( = {}) ::JSON.parse(represented.json_content, PACT_PARSING_OPTIONS).merge super end |