This commit is contained in:
Pete Matsyburka
2024-11-03 10:19:59 +02:00
parent 2542f26d96
commit bc40a15de1
18 changed files with 27 additions and 27 deletions
@@ -5,7 +5,7 @@ class SendFormCompletedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendFormDeclinedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendFormStartedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendFormViewedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendSubmissionArchivedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendSubmissionCompletedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendSubmissionCreatedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendTemplateCreatedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -5,7 +5,7 @@ class SendTemplateUpdatedWebhookRequestJob
sidekiq_options queue: :webhooks
USER_AGENT = 'DocuSeal.co Webhook'
USER_AGENT = 'DocuSeal.com Webhook'
MAX_ATTEMPTS = 10
@@ -33,7 +33,7 @@ RSpec.describe SendFormCompletedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -50,7 +50,7 @@ RSpec.describe SendFormCompletedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -33,7 +33,7 @@ RSpec.describe SendFormDeclinedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -50,7 +50,7 @@ RSpec.describe SendFormDeclinedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -33,7 +33,7 @@ RSpec.describe SendFormStartedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -50,7 +50,7 @@ RSpec.describe SendFormStartedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -33,7 +33,7 @@ RSpec.describe SendFormViewedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -50,7 +50,7 @@ RSpec.describe SendFormViewedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -30,7 +30,7 @@ RSpec.describe SendSubmissionArchivedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -47,7 +47,7 @@ RSpec.describe SendSubmissionArchivedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -30,7 +30,7 @@ RSpec.describe SendSubmissionCompletedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -47,7 +47,7 @@ RSpec.describe SendSubmissionCompletedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -30,7 +30,7 @@ RSpec.describe SendSubmissionCreatedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -47,7 +47,7 @@ RSpec.describe SendSubmissionCreatedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -29,7 +29,7 @@ RSpec.describe SendTemplateCreatedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -46,7 +46,7 @@ RSpec.describe SendTemplateCreatedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once
@@ -29,7 +29,7 @@ RSpec.describe SendTemplateUpdatedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook'
'User-Agent' => 'DocuSeal.com Webhook'
}
).once
end
@@ -46,7 +46,7 @@ RSpec.describe SendTemplateUpdatedWebhookRequestJob do
}.deep_stringify_keys),
headers: {
'Content-Type' => 'application/json',
'User-Agent' => 'DocuSeal.co Webhook',
'User-Agent' => 'DocuSeal.com Webhook',
'X-Secret-Header' => 'secret_value'
}
).once