Sha256: c02a290afd3dbc46bcc5c150843cffe583863b6fb85fe72987461fd0d740905d

Contents?: true

Size: 1.45 KB

Versions: 6

Compression:

Stored size: 1.45 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/purchases
    body:
      encoding: UTF-8
      string: '{"utoken":"Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC","email":"some@one.com","customer_name":"Customer
        Name","order_date":null,"currency_iso":null,"order_id":"123","platform":"shopify","products":{"p1":{"url":"http://example_product_url1.com","name":"product1","image":"http://example_product_image_url1.com","description":"this
        is the description of a product"}}}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Yotpo-Api-Connector:
      - Ruby0.1.0
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: 'OK '
    headers:
      Server:
      - nginx/1.9.4
      Date:
      - Mon, 30 Nov 2015 07:49:25 GMT
      Content-Type:
      - application/json; charset=utf-8
      Content-Length:
      - '27'
      Connection:
      - keep-alive
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Etag:
      - '"ff338c05e925e0da825f92d06e112107"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 844411edc9364411fd82dcbc81e9c2b8
      X-Runtime:
      - '4.195039'
      Access-Control-Allow-Credentials:
      - 'true'
    body:
      encoding: UTF-8
      string: '{"code":200,"message":"OK"}'
    http_version: 
  recorded_at: Mon, 30 Nov 2015 07:49:25 GMT
recorded_with: VCR 3.0.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yotpo-1.0.6 spec/cassettes/create_new_purchase.yml
yotpo-1.0.5 spec/cassettes/create_new_purchase.yml
yotpo-1.0.4 spec/cassettes/create_new_purchase.yml
yotpo-1.0.3 spec/cassettes/create_new_purchase.yml
yotpo-1.0.1 spec/cassettes/create_new_purchase.yml
yotpo-1.0.0 spec/cassettes/create_new_purchase.yml