Skip to content

Commit

Permalink
chore: remove custom latest_version method from pacticipant
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Dec 2, 2021
1 parent 6c71e57 commit 19ab9cd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/pact_broker/domain/pacticipant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ def before_save
self.main_branch = nil if main_branch.blank?
end

def latest_version
versions.last
end

def to_s
"Pacticipant: id=#{id}, name=#{name}"
end
Expand Down

0 comments on commit 19ab9cd

Please sign in to comment.