Sha256: 8a336cbc2ba5b7c9e73870de5f4e1a8bb47b7eb08cb60ee3698c5f9d84568e90

Contents?: true

Size: 1.68 KB

Versions: 10

Compression:

Stored size: 1.68 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api-sandbox.bolt.com/v1/webhooks
    body:
      encoding: UTF-8
      string: '{"division_id":"<DIVISION_ID>","url":"https://solidus-test.com/webhook","event_group":"all"}'
    headers:
      Content-Type:
      - application/json
      X-Api-Key:
      - "<API_KEY>"
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 30 May 2022 06:40:58 GMT
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '42'
      Connection:
      - keep-alive
      Public-Key-Pins-Report-Only:
      - max-age=2592000;pin-sha256="OGAVOYhLZd3ADKYGFZOED1c5m1ObMlRv9PyIWrO4Nd0=";pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=";pin-sha256="IXHYSIdST+XY22J5ivybYkntMIfjA5P6pMKX2hWG1BE=";report-uri="https://77aa1bd121ef22d50247a23390ce6cff.report-uri.io/r/default/hpkp/reportOnly"
      Set-Cookie:
      - trk=9742bdaf-7e16-43c2-b7c3-a12cce85e013; Path=/; Max-Age=31536000; HttpOnly;
        Secure; SameSite=None
      Strict-Transport-Security:
      - max-age=31536000; includeSubDomains; preload
      X-Bolt-Api-Version:
      - '2022-01-01'
      X-Bolt-Trace-Id:
      - Root=1-629466fa-37572ceb2fe4e9703b906e26
      X-Device-Id:
      - 542aff933313830b6744d12044d88da43f24e0b8340d27cba2b20042b8db573e
      X-Envoy-Upstream-Service-Time:
      - '32'
      Server:
      - envoy
    body:
      encoding: UTF-8
      string: '{"webhook_id":"wh_gZ66XAVPSCCtT1RoyfsfmQ"}'
  recorded_at: Mon, 30 May 2022 06:40:58 GMT
recorded_with: VCR 6.0.0

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_bolt-0.7.2 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.7.1 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.7.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.6.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.5.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.4.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.3.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.2.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.1.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml
solidus_bolt-0.0.1 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_all_event/returns_a_webhook_id.yml