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
Calls superclass method
PactBroker::Api::Decorators::BaseDecorator::eager_load_associations
# File lib/pact_broker/api/decorators/branch_decorator.rb, line 29 def self.eager_load_associations super + [:pacticipant] end