Sha256: 109305d45b07cc6392cec1b5a977d4a50ad56b02a3b6a61184c96f7decfac85e

Contents?: true

Size: 1.92 KB

Versions: 3

Compression:

Stored size: 1.92 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://development.avalara.net/1.0/tax/40.714623,-74.006605/get?saleamount=0
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Authorization:
      - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/json; charset=utf-8
      Vary:
      - Accept-Encoding
      X-Aspnet-Version:
      - 4.0.30319
      X-Powered-By:
      - ASP.NET
      Date:
      - Thu, 13 Apr 2017 01:43:30 GMT
      Content-Length:
      - '411'
      Set-Cookie:
      - TS017f1821=01a8ddc44ea9b08bf4a92cefa5391d607fc932582a0f8062119eafb29a93b8f07bb098108219f71d7e4d8a24d03f913ba68a70f001;
        Path=/
    body:
      encoding: ASCII-8BIT
      string: |
        {
        "Rate": 0.08875,
        "Tax": 0,
        "TaxDetails": [
        {
        "Rate": 0.04,
        "Tax": 0,
        "Region": "NY",
        "Country": "US",
        "JurisType": "State",
        "JurisName": "NEW YORK",
        "JurisCode": "36",
        "TaxName": "NY STATE TAX"}
        ,{
        "Country": "US",
        "Region": "NY",
        "JurisType": "City",
        "JurisCode": "51000",
        "Rate": 0.045,
        "Tax": 0,
        "JurisName": "NEW YORK CITY",
        "TaxName": "NY CITY TAX"}
        ,{
        "Country": "US",
        "Region": "NY",
        "JurisType": "Special",
        "JurisCode": "359071",
        "Rate": 0.00375,
        "Tax": 0,
        "JurisName": "METROPOLITAN COMMUTER TRANSPORTATION DISTRICT",
        "TaxName": "NY SPECIAL TAX"}
        ]
        ,
        "ResultCode": "Success"}
    http_version: 
  recorded_at: Thu, 13 Apr 2017 01:43:31 GMT
recorded_with: VCR 3.0.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_avatax_certified-3.0.0 spec/vcr/TaxSvc/_ping/should_return_estimate.yml
solidus_avatax_certified-2.0.0 spec/vcr/TaxSvc/_ping/should_return_estimate.yml
solidus_avatax_certified-1.1.0 spec/vcr/TaxSvc/_ping/should_return_estimate.yml