Skip to content

Commit

Permalink
chore: update latest verification resources
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Apr 11, 2021
1 parent 7fe98a7 commit c72de13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ module PactBroker
module Api
module Resources
class LatestVerificationForLatestPact < Verification
def resource_exists?
!!verification
end

private

def pact
Expand Down
4 changes: 4 additions & 0 deletions lib/pact_broker/api/resources/latest_verification_for_pact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ module PactBroker
module Api
module Resources
class LatestVerificationForPact < Verification
def resource_exists?
!!verification
end

private

def pact
Expand Down

0 comments on commit c72de13

Please sign in to comment.