Sha256: 2af7ba04d700fc9589b2476589d2a22b8486c4b69a87a56c826ec852e9c19eb0

Contents?: true

Size: 1.81 KB

Versions: 9

Compression:

Stored size: 1.81 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: "<BRAZE_REST_URL>/users/track"
    body:
      encoding: UTF-8
      string: '{"api_key":"<BRAZE_REST_API_KEY>","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:
      User-Agent:
      - Faraday v0.14.0
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 201
      message: Created
    headers:
      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:
      - '50000'
      X-Ratelimit-Remaining:
      - '50000'
      X-Ratelimit-Reset:
      - '1524002400'
      X-Request-Id:
      - af452a7f-9be9-417d-b9d5-2c4db3de274d
      X-Runtime:
      - '0.020310'
      Content-Length:
      - '85'
      Accept-Ranges:
      - bytes
      Date:
      - Tue, 17 Apr 2018 21:08:07 GMT
      Via:
      - 1.1 varnish
      Connection:
      - keep-alive
      X-Served-By:
      - cache-pdk17837-PDK
      X-Cache:
      - MISS
      X-Cache-Hits:
      - '0'
      X-Timer:
      - S1523999287.293178,VS0,VE220
      Vary:
      - Accept-Encoding
    body:
      encoding: ASCII-8BIT
      string: '{"attributes_processed":1,"events_processed":1,"purchases_processed":1,"message":"success"}'
    http_version: 
  recorded_at: Tue, 17 Apr 2018 21:08:07 GMT
recorded_with: VCR 4.0.0

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
braze_ruby-0.3.3 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.3.2 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.3.1 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.2.2 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.2.1 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.2.0 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.1.0 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.0.2 spec/fixtures/responses/track_users/with_success/responds_with_created.yml
braze_ruby-0.0.1 spec/fixtures/responses/track_users/with_success/responds_with_created.yml