fixtures/vcr_cassettes/Harvesting_Client_invoices/when_account_has_no_invoices_returns_the_invoices_associated_with_the_account.yml
---
http_interactions:
- request:
method: get
uri: https://api.harvestapp.com/v2/invoices
body:
encoding: UTF-8
string: ''
headers:
User-Agent:
- Harvesting Ruby Gem
Authorization:
- Bearer $HARVEST_ACCESS_TOKEN
Harvest-Account-Id:
- "$HARVEST_ACCOUNT_ID"
Connection:
- close
Host:
- api.harvestapp.com
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 07 Apr 2020 07:22:11 GMT
Content-Type:
- application/json; charset=utf-8
Transfer-Encoding:
- chunked
Connection:
- close
Status:
- 200 OK
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Permitted-Cross-Domain-Policies:
- none
Referrer-Policy:
- strict-origin-when-cross-origin
Cache-Control:
- no-cache, no-store
P3p:
- 'CP="Our privacy policy is available online: https://www.getharvest.com/services/privacy-policy"'
X-App-Server:
- app4
X-Robots-Tag:
- noindex, nofollow
Content-Security-Policy:
- 'report-uri /csp_reports; default-src *; img-src * data:; font-src data: cache.harvestapp.com
https://js.intercomcdn.com https://fonts.gstatic.com; script-src ''self''
''unsafe-inline'' ''unsafe-eval'' https://*.google-analytics.com https://*.nr-data.net
https://ajax.googleapis.com cache.harvestapp.com https://platform.twitter.com
https://www.google.com https://www.googleadservices.com https://www.googletagmanager.com
https://connect.facebook.net https://googleads.g.doubleclick.net https://app.intercom.io
https://widget.intercom.io https://js.intercomcdn.com https://cdn.plaid.com
https://tagmanager.google.com https://bat.bing.com https://ct.capterra.com;
style-src ''self'' ''unsafe-inline'' cache.harvestapp.com https://www.google.com
https://tagmanager.google.com https://fonts.googleapis.com'
X-Request-Id:
- e0809334fe373e041de63b1486b89854
X-Runtime:
- '0.069310'
Strict-Transport-Security:
- max-age=31536000; includeSubDomains
X-Server:
- lb4
body:
encoding: UTF-8
string: '{"invoices":[],"per_page":100,"total_pages":1,"total_entries":0,"next_page":null,"previous_page":null,"page":1,"links":{"first":"https://api.harvestapp.com/v2/invoices?page=1&per_page=100","next":null,"previous":null,"last":"https://api.harvestapp.com/v2/invoices?page=1&per_page=100"}}'
http_version:
recorded_at: Tue, 07 Apr 2020 07:22:11 GMT
recorded_with: VCR 4.0.0