Sha256: 36114684c34e446ec9a7b6f859013feb4fb5d63185417275eea0c6ff17486f46

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.easypost.com/v2/parcels
    body:
      encoding: UTF-8
      string: parcel[weight]=10.0
    headers:
      Accept:
      - "*/*"
      User-Agent:
      - EasyPost/v2 RubyClient/3.0.1
      Authorization:
      - Bearer CvzYtuda6KRI9JjG7SAHbA
      Content-Type:
      - application/x-www-form-urlencoded
      Content-Length:
      - '19'
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Host:
      - api.easypost.com
  response:
    status:
      code: 201
      message: Created
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Ep-Request-Uuid:
      - 43c6543d5dca6f1bee7306ac00010e5b
      Cache-Control:
      - no-cache, no-store, must-revalidate, private
      Pragma:
      - no-cache
      Expires:
      - '0'
      Location:
      - "/api/v2/parcels/prcl_dc3dbb0bc49f443f85749697f4eddccd"
      Content-Type:
      - application/json; charset=utf-8
      X-Runtime:
      - '0.028555'
      Transfer-Encoding:
      - chunked
      X-Node:
      - bigweb3sj
      X-Version-Label:
      - easypost-201911120131-f5c72b1880-master
      X-Backend:
      - easypost
      X-Proxied:
      - extlb2wdc 2744487620
      - intlb1sj ff5a2958df
      - intlb1wdc ff5a2958df
      Strict-Transport-Security:
      - max-age=15768000; includeSubDomains; preload
    body:
      encoding: ASCII-8BIT
      string: '{"id":"prcl_dc3dbb0bc49f443f85749697f4eddccd","object":"Parcel","created_at":"2019-11-12T08:36:43Z","updated_at":"2019-11-12T08:36:43Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.0,"mode":"test"}'
    http_version: 
  recorded_at: Tue, 12 Nov 2019 08:36:44 GMT
recorded_with: VCR 5.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_easypost-2.0.0 spec/cassettes/Spree_Stock_Package/_easypost_parcel/has_the_correct_attributes.yml