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.61.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.60.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.60.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.59.2 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.59.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.59.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.58.3 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.58.2 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.58.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.57.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.56.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.56.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.55.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.54.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.53.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.52.2 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.52.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.52.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.51.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.50.1 lib/pact_broker/api/resources/webhook_resource_methods.rb