Sha256: eaf9dfefb3d029b492983248fe1b4f327c2672981370dc162a0a30df9c55170b

Contents?: true

Size: 1.35 KB

Versions: 8

Compression:

Stored size: 1.35 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://tophatter.dev/merchant_api/v1/variations.json
    body:
      encoding: UTF-8
      string: product_identifier=C-T-1&identifier=CT1-M&size=M&quantity=99&access_token=d8f979fc7d14fec0b075c0b73dbafb59
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      Content-Length:
      - '106'
      Content-Type:
      - application/x-www-form-urlencoded
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"61c2fd4f91cfa7741c5726738e964d82"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 2324e3a0-70cb-401d-8a3c-574b2401efc2
      X-Runtime:
      - '0.106959'
      Date:
      - Fri, 31 Mar 2017 23:33:08 GMT
      Connection:
      - close
    body:
      encoding: UTF-8
      string: '{"product_identifier":"C-T-1","identifier":"CT1-M","size":"M","color":null,"quantity":99,"created_at":"2017-03-31T16:33:08-07:00","disabled_at":null,"deleted_at":null}'
    http_version: 
  recorded_at: Fri, 31 Mar 2017 23:33:08 GMT
recorded_with: VCR 3.0.3

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tophatter-merchant-1.2.2 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml
tophatter-merchant-1.2.1 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml
tophatter-merchant-1.2.0 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml
tophatter-merchant-1.1.9 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml
tophatter-merchant-1.1.8 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml
tophatter-merchant-1.1.7 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml
tophatter-merchant-1.1.6 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml
tophatter-merchant-1.1.5 spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml