Sha256: 32dbfa1407e3db38ebb3493d59c059ee1a968a6cadb65c869e6fce6c2b5ad3e5

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: "<BRAZE_REST_URL>/users/track"
    body:
      encoding: UTF-8
      string: '{"attributes":[{"external_id":1,"foo":"bar"}],"events":[{"external_id":1,"name":"baz","time":"2019-02-15
        00:00:00 -0500"}],"purchases":[{"external_id":1,"product_id":1,"time":"2019-02-15
        00:00:00 -0500","currency":"CAD","price":1.0}]}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      User-Agent:
      - Braze Ruby gem v0.3.3
      Authorization:
      - Bearer <BRAZE_REST_API_KEY>
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 201
      message: Created
    headers:
      Connection:
      - keep-alive
      Content-Length:
      - '85'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json
      Etag:
      - W/"68b326343749fed4d6cc5dda395b5367"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=0; includeSubDomains
      - max-age=31536000; includeSubDomains
      X-Ratelimit-Limit:
      - '250000'
      X-Ratelimit-Remaining:
      - '250000'
      X-Ratelimit-Reset:
      - '1592427600'
      X-Request-Id:
      - 75dc3ac0-d4d2-4278-89d0-b29e540dc719
      X-Runtime:
      - '0.008741'
      Accept-Ranges:
      - bytes
      Date:
      - Wed, 17 Jun 2020 20:31:42 GMT
      Via:
      - 1.1 varnish
      X-Served-By:
      - cache-hhn4063-HHN
      X-Cache:
      - MISS
      X-Cache-Hits:
      - '0'
      X-Timer:
      - S1592425903.749169,VS0,VE11
      Vary:
      - Origin,Accept-Encoding
    body:
      encoding: ASCII-8BIT
      string: '{"attributes_processed":1,"events_processed":1,"purchases_processed":1,"message":"success"}'
    http_version: 
  recorded_at: Wed, 17 Jun 2020 20:31:42 GMT
recorded_with: VCR 5.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
braze_ruby-0.4.2 spec/fixtures/responses/track_users/with_success/responds_with_success_message.yml
braze_ruby-0.4.1 spec/fixtures/responses/track_users/with_success/responds_with_success_message.yml
braze_ruby-0.4.0 spec/fixtures/responses/track_users/with_success/responds_with_success_message.yml