Sha256: d51dd6b6c689dbbf6aab2222dc5b0acbb0835a0e0d2cfef3e6c44c01d78dd348

Contents?: true

Size: 382 Bytes

Versions: 17

Compression:

Stored size: 382 Bytes

Contents

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pact_broker-2.48.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.47.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.47.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.46.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.45.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.44.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.43.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.42.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.41.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.40.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.39.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.38.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.38.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.37.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.36.1 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.36.0 lib/pact_broker/api/resources/webhook_resource_methods.rb
pact_broker-2.35.0 lib/pact_broker/api/resources/webhook_resource_methods.rb