class PactBroker::Versions::BranchHead
Public Instance Methods
Source
# File lib/pact_broker/versions/branch_head.rb, line 13 def before_save super self.pacticipant_id = branch.pacticipant_id self.version_id = branch_version.version_id self.branch_name = branch.name end
Calls superclass method
Source
# File lib/pact_broker/versions/branch_head.rb, line 20 def branch_name branch.name end