mad_cart 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/mad_cart/store/big_commerce.rb +1 -1
- data/lib/mad_cart/store/etsy.rb +2 -1
- data/lib/mad_cart/version.rb +1 -1
- data/mad_cart.gemspec +5 -3
- data/spec/fixtures/vcr_cassettes/big_commerce.yml +39263 -738
- data/spec/fixtures/vcr_cassettes/etsy_store_does_not_exist.yml +65 -0
- data/spec/fixtures/vcr_cassettes/etsy_store_listings.yml +482 -476
- data/spec/lib/store/etsy_spec.rb +2 -1
- metadata +60 -44
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://openapi.etsy.com/v2/shops/MadeUpStore?api_key=4j3amz573gly866229iixzri
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 404
|
19
|
+
message: Not Found
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 08 May 2014 09:45:03 GMT
|
23
|
+
Server:
|
24
|
+
- Apache
|
25
|
+
X-Etsy-Request-Uuid:
|
26
|
+
- bXZQ1-1Xs7iqWhgQMTIAqIxtjAMP
|
27
|
+
X-Ratelimit-Limit:
|
28
|
+
- '10000'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '9830'
|
31
|
+
X-Error-Detail:
|
32
|
+
- "'MadeUpStore' is not a valid shop name"
|
33
|
+
Cache-Control:
|
34
|
+
- private
|
35
|
+
X-Cnection:
|
36
|
+
- close
|
37
|
+
Content-Type:
|
38
|
+
- text/plain;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '58'
|
41
|
+
Accept-Ranges:
|
42
|
+
- bytes
|
43
|
+
Via:
|
44
|
+
- 1.1 varnish
|
45
|
+
Age:
|
46
|
+
- '0'
|
47
|
+
X-Served-By:
|
48
|
+
- cache-fra1229-FRA
|
49
|
+
X-Cache:
|
50
|
+
- MISS
|
51
|
+
X-Cache-Hits:
|
52
|
+
- '0'
|
53
|
+
X-Timer:
|
54
|
+
- S1399542303.808446169,VS0,VE140
|
55
|
+
Vary:
|
56
|
+
- Accept-Encoding
|
57
|
+
Set-Cookie:
|
58
|
+
- uaid=uaid%3D3Y11lAt6Ap_Q9bG2GKfR5A88VXh_%26_now%3D1399542303%26_slt%3DtiNDp8bD%26_kid%3D1%26_ver%3D1%26_mac%3D517wl1yuHcbCZFV9WJfcfQzN3FGBU1hGg73jSL-YrRU.;
|
59
|
+
expires=Sat, 07-May-2016 09:45:03 GMT; path=/; domain=.etsy.com; httponly
|
60
|
+
body:
|
61
|
+
encoding: UTF-8
|
62
|
+
string: "'MadeUpStore' is not a valid shop name"
|
63
|
+
http_version:
|
64
|
+
recorded_at: Thu, 08 May 2014 09:45:04 GMT
|
65
|
+
recorded_with: VCR 2.5.0
|