Sha256: 282fe8e18e339f6076b243eeb4eec3f39d8cddf19667fb9cea43ef830c1fdcdc

Contents?: true

Size: 401 Bytes

Versions: 82

Compression:

Stored size: 401 Bytes

Contents

module PactBroker
  module Api
    module Resources
      module WebhookResourceMethods
        def webhook_validation_errors?(webhook, uuid = nil)
          errors = webhook_service.errors(webhook, uuid)
          if !errors.empty?
            set_json_validation_error_messages(errors.messages)
            true
          else
            false
          end
        end
      end
    end
  end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
pact_broker-2.50.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.49.0 lib/pact_broker/api/resources/webhook_resource_methods.rb