Sha256: de760b1945981e13f5fd6784c85a205720a81d11615df08b3406640ccb5575cf
Contents?: true
Size: 599 Bytes
Versions: 9
Compression:
Stored size: 599 Bytes
Contents
require_relative "base_decorator" require_relative "integration_decorator" require "pact_broker/api/decorators/pagination_links" module PactBroker module Api module Decorators class IntegrationsDecorator < BaseDecorator collection :entries, as: :integrations, embedded: true, :extend => PactBroker::Api::Decorators::IntegrationDecorator link :self do | context | { href: context[:resource_url], title: "All integrations" } end include PactBroker::Api::Decorators::PaginationLinks end end end end
Version data entries
9 entries across 9 versions & 1 rubygems