class PactBroker::Api::Decorators::BranchDecorator

Public Class Methods

eager_load_associations() click to toggle source

When this decorator is embedded in the PacticipantBranchesDecorator, we need to eager load the pacticipants for generating the URL

# File lib/pact_broker/api/decorators/branch_decorator.rb, line 29
def self.eager_load_associations
  super + [:pacticipant]
end