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.93.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.92.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.91.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.90.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.89.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.89.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.88.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.87.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.86.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.85.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.85.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.84.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.83.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.82.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.81.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.80.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.79.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.79.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.78.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.78.0 lib/pact_broker/api/resources/webhook_resource_methods.rb