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.77.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.76.2 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.76.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.76.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.75.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.74.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.74.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.73.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.72.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.71.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.70.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.69.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.68.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.68.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.67.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.66.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.65.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.64.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.63.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.62.0 lib/pact_broker/api/resources/webhook_resource_methods.rb