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.106.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.105.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.104.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.103.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.102.2 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.102.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.102.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.101.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.100.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.99.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.98.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.97.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.96.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.95.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.95.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.94.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.93.4 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.93.3 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.93.2 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.93.1 lib/pact_broker/api/resources/webhook_resource_methods.rb