tophatter-merchant 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +4 -3
  4. data/.travis.yml +10 -0
  5. data/Gemfile +6 -0
  6. data/README.md +4 -0
  7. data/Rakefile +3 -0
  8. data/VERSION +1 -1
  9. data/lib/tophatter_merchant/product.rb +4 -6
  10. data/lib/tophatter_merchant/version.rb +1 -1
  11. data/spec/cassettes/TophatterMerchant_Metadata/_carriers/returns_carriers.yml +56 -50
  12. data/spec/cassettes/TophatterMerchant_Metadata/_categories/returns_categories.yml +101 -67
  13. data/spec/cassettes/TophatterMerchant_Metadata/_colors/returns_colors.yml +20 -37
  14. data/spec/cassettes/TophatterMerchant_Metadata/_conditions/returns_conditions.yml +22 -37
  15. data/spec/cassettes/TophatterMerchant_Metadata/_countries/returns_countries.yml +97 -70
  16. data/spec/cassettes/TophatterMerchant_Metadata/_country_codes/returns_country_codes.yml +129 -87
  17. data/spec/cassettes/TophatterMerchant_Metadata/_materials/returns_materials.yml +39 -52
  18. data/spec/cassettes/TophatterMerchant_Metadata/_metadata/returns_metadata.yml +509 -288
  19. data/spec/cassettes/TophatterMerchant_Metadata/_provinces/returns_provinces.yml +22 -39
  20. data/spec/cassettes/TophatterMerchant_Metadata/_sizes/returns_sizes.yml +28 -45
  21. data/spec/cassettes/TophatterMerchant_Metadata/_states/returns_states.yml +28 -48
  22. data/spec/cassettes/TophatterMerchant_Metadata/_territories/returns_territories.yml +22 -38
  23. data/spec/cassettes/TophatterMerchant_Order/_all/returns_all_orders.yml +11 -11
  24. data/spec/cassettes/TophatterMerchant_Order/_fulfill/fulfills_an_order.yml +8 -8
  25. data/spec/cassettes/TophatterMerchant_Order/_refund/refunds_an_order.yml +8 -8
  26. data/spec/cassettes/TophatterMerchant_Order/_retrieve/retrieves_an_order.yml +8 -8
  27. data/spec/cassettes/TophatterMerchant_Order/_schema/returns_the_schema.yml +5 -5
  28. data/spec/cassettes/TophatterMerchant_Product/_all/returns_all_products.yml +15 -15
  29. data/spec/cassettes/TophatterMerchant_Product/_create/creates_a_product.yml +8 -8
  30. data/spec/cassettes/TophatterMerchant_Product/_delete/deletes_a_product.yml +17 -17
  31. data/spec/cassettes/TophatterMerchant_Product/_disable/disables_a_product.yml +16 -16
  32. data/spec/cassettes/TophatterMerchant_Product/_enable/enables_a_product.yml +16 -16
  33. data/spec/cassettes/TophatterMerchant_Product/_retrieve/retrieves_a_product.yml +8 -8
  34. data/spec/cassettes/TophatterMerchant_Product/_schema/returns_the_schema.yml +33 -33
  35. data/spec/cassettes/TophatterMerchant_Product/_search/returns_products_matching_search_terms.yml +11 -11
  36. data/spec/cassettes/TophatterMerchant_Product/_update/updates_a_product.yml +16 -16
  37. data/spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml +7 -7
  38. data/spec/cassettes/TophatterMerchant_Variation/_retrieve/retrieves_a_variation.yml +7 -7
  39. data/spec/cassettes/TophatterMerchant_Variation/_schema/returns_the_schema.yml +10 -7
  40. data/spec/cassettes/TophatterMerchant_Variation/_update/updates_a_variation.yml +14 -14
  41. data/spec/spec_helper.rb +6 -0
  42. data/spec/tophatter_merchant/metadata_spec.rb +7 -7
  43. data/spec/tophatter_merchant/order_spec.rb +1 -6
  44. data/spec/tophatter_merchant/product_spec.rb +0 -5
  45. data/spec/tophatter_merchant/variation_spec.rb +0 -5
  46. data/tophatter-merchant.gemspec +1 -0
  47. metadata +6 -5
  48. data/spec/cassettes/TophatterMerchant_Metadata/_brands/returns_brands.yml +0 -161
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68355cabcacea8767d8d9fba36509a52d6f3964a
4
- data.tar.gz: 86cd0ca79cad91737c43a68a8e462884dedaeca0
3
+ metadata.gz: 5a889d2a13b0c47078c54f5f5fe2b61c3c71496e
4
+ data.tar.gz: 4e5548bf6d7461619c9cd7ebbe6ecf95afe79a16
5
5
  SHA512:
6
- metadata.gz: 0de67c7d954e5e71335ea538057a1da48b026f1f8c3c1924995e2504d478625e720ec1304172bc93928607609859bb11949a15e78312efe83ddc0d1ddd98cbfd
7
- data.tar.gz: a6d4a43abcf06a48a61dc62ff54977fff1e8d7d441cd653bfa7fdfeec514e786d5e7efbcbd77d77d4cbc2d98055f7824651a9810ba751611a2d3d71b7aed0141
6
+ metadata.gz: a9ad961d6fe26b70e3869ebf9d0c616e971d1203132d4eab79f569d6299ec97ed7f19a1664e8d5142fa2c438241587c4c7386db082ed74d51813d0b3576d7942
7
+ data.tar.gz: be6e562a0b9736b324ef3e311e6cdc9087ce5d956f96544f6a29ad37a362c125208c36218dfd516f18e70d624a1a6a90e81964b99d4af71b599ed503912a085a
data/.coveralls.yml ADDED
@@ -0,0 +1 @@
1
+ service_name: travis-ci
data/.gitignore CHANGED
@@ -1,8 +1,9 @@
1
1
  Gemfile.lock
2
- .DS_Store
3
2
  *.swp
4
- /.bundle
3
+ *.gem
4
+ .DS_Store
5
+ .bundle
5
6
  .idea
6
7
  .api_path
7
8
  .access_token
8
- *.gem
9
+ coverage
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2
4
+ branches:
5
+ only:
6
+ - master
7
+ cache: bundler
8
+ script:
9
+ - bundle exec rake rubocop
10
+ - bundle exec rspec
data/Gemfile CHANGED
@@ -4,6 +4,12 @@ gemspec
4
4
  group :development, :test do
5
5
  gem 'awesome_print'
6
6
  gem 'pry'
7
+ gem 'rake'
8
+ gem 'rubocop'
9
+ end
10
+
11
+ group :test do
12
+ gem 'coveralls', require: false
7
13
  gem 'rspec'
8
14
  gem 'vcr'
9
15
  gem 'webmock'
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ [![Gem Version](https://badge.fury.io/rb/tophatter-merchant.svg)](https://badge.fury.io/rb/tophatter-merchant)
2
+ [![Build Status](https://travis-ci.org/tophatter/merchant-api-ruby.svg?branch=master)](https://travis-ci.org/tophatter/merchant-api-ruby)
3
+ [![Coverage Status](https://coveralls.io/repos/github/tophatter/merchant-api-ruby/badge.svg?branch=master)](https://coveralls.io/github/tophatter/merchant-api-ruby?branch=master)
4
+
1
5
  ### Tophatter Merchant API
2
6
  Full documentation is available [here](https://tophatter.readme.io/v1/docs).
3
7
 
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require 'rubocop/rake_task'
2
+
3
+ RuboCop::RakeTask.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.4
1
+ 1.1.5
@@ -5,16 +5,14 @@ module TophatterMerchant
5
5
  :condition, :brand, :material, # Facets
6
6
  :available_quantity, :variations, # Variations
7
7
  :starting_bid, :buy_now_price, :retail_price, :cost_basis, # Pricing
8
- :shipping_origin, :days_to_fulfill, :weight, # Shipping
9
- :shipping_price, :days_to_deliver,
10
- :expedited_shipping_price, :expedited_days_to_deliver,
8
+ :shipping_price, :days_to_deliver, # Shipping
9
+ :expedited_shipping_price, :expedited_days_to_deliver, # Shipping (Expedited)
10
+ :days_to_fulfill, :shipping_origin, :weight, # Shipping (Handling)
11
11
  :buy_one_get_one_price, :accessory_price, :accessory_description, # Upsells
12
12
  :primary_image, :extra_images, :all_images, # Images
13
13
  :ratings_average, :ratings_count, # Ratings
14
14
  :created_at, :updated_at, :disabled_at, :deleted_at, # Timestamps
15
- :success_fee_bid, :minimum_alerts_needed, # Undocumented
16
- :blacklisted_at, :admin_hold_at,
17
- :slug, :internal_id
15
+ :internal_id, :slug, :admin_banned_at, :admin_hold_at, :admin_reason, :success_fee_bid_enabled, :success_fee_bid # Admin
18
16
 
19
17
  def id
20
18
  created_at.present? ? identifier : nil
@@ -1,3 +1,3 @@
1
1
  module TophatterMerchant
2
- VERSION = '1.1.4'.freeze
2
+ VERSION = '1.1.5'.freeze
3
3
  end
@@ -2,17 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://tophatter.com/merchant_api/v1/metadata/carriers.json
5
+ uri: http://tophatter.dev/merchant_api/v1/metadata/carriers.json
6
6
  body:
7
- encoding: ASCII-8BIT
8
- string: ''
7
+ encoding: UTF-8
8
+ string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*; q=0.5, application/xml"
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  Content-Length:
15
- - '0'
15
+ - '45'
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  User-Agent:
@@ -22,60 +22,66 @@ http_interactions:
22
22
  code: 200
23
23
  message: OK
24
24
  headers:
25
- Cache-Control:
26
- - max-age=0, private, must-revalidate
27
- Content-Encoding:
28
- - gzip
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
29
31
  Content-Type:
30
32
  - application/json; charset=utf-8
31
- Date:
32
- - Sat, 25 Mar 2017 22:19:56 GMT
33
33
  Etag:
34
- - W/"df1934e98e60bb6c3169b8b7cb76b2df"
35
- Server:
36
- - nginx + Phusion Passenger
37
- Status:
38
- - 200 OK
39
- Vary:
40
- - Accept-Encoding
41
- X-Content-Type-Options:
42
- - nosniff
43
- X-Frame-Options:
44
- - SAMEORIGIN
45
- X-Powered-By:
46
- - Phusion Passenger Enterprise
34
+ - W/"f2803c7b377ffc17447314bf2bcaa29e"
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
47
37
  X-Request-Id:
48
- - a40e6f97-3022-4992-8125-4d31ca008ab5
49
- X-Request-Start:
50
- - t=1490480396.593
38
+ - 652edc9a-d3c3-4823-87ad-50070d1c6b4a
51
39
  X-Runtime:
52
- - '0.031435'
53
- X-Xss-Protection:
54
- - 1; mode=block
55
- Transfer-Encoding:
56
- - chunked
40
+ - '0.030310'
41
+ Date:
42
+ - Fri, 31 Mar 2017 23:33:13 GMT
57
43
  Connection:
58
- - keep-alive
44
+ - close
59
45
  body:
60
46
  enco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ic3BhaW4tY29ycmVvcy1lcyIsIkRQRVgi
81
+ OiJkcGV4IiwiU3dpc3MgUG9zdCI6InN3aXNzLXBvc3QiLCJOZXcgWmVhbGFu
82
+ ZCBQb3N0IjoibmV3LXplYWxhbmQtcG9zdCIsIlBvc3ROb3JkIERlbm1hcmsi
83
+ OiJkYW5tYXJrLXBvc3QiLCJXaXNoUG9zdCI6Indpc2hwb3N0IiwiSGVybWVz
84
+ d29ybGQiOiJoZXJtZXMifQ==
79
85
  http_version:
80
- recorded_at: Sat, 25 Mar 2017 22:19:55 GMT
86
+ recorded_at: Fri, 31 Mar 2017 23:33:13 GMT
81
87
  recorded_with: VCR 3.0.3
@@ -2,17 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://tophatter.com/merchant_api/v1/metadata/categories.json
5
+ uri: http://tophatter.dev/merchant_api/v1/metadata/categories.json
6
6
  body:
7
- encoding: ASCII-8BIT
8
- string: ''
7
+ encoding: UTF-8
8
+ string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*; q=0.5, application/xml"
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  Content-Length:
15
- - '0'
15
+ - '45'
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  User-Agent:
@@ -22,76 +22,110 @@ http_interactions:
22
22
  code: 200
23
23
  message: OK
24
24
  headers:
25
- Cache-Control:
26
- - max-age=0, private, must-revalidate
27
- Content-Encoding:
28
- - gzip
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
29
31
  Content-Type:
30
32
  - application/json; charset=utf-8
31
- Date:
32
- - Sat, 25 Mar 2017 22:19:51 GMT
33
33
  Etag:
34
34
  - W/"1fc46ae442e0793ca4f38061b1ba908a"
35
- Server:
36
- - nginx + Phusion Passenger
37
- Status:
38
- - 200 OK
39
- Vary:
40
- - Accept-Encoding
41
- X-Content-Type-Options:
42
- - nosniff
43
- X-Frame-Options:
44
- - SAMEORIGIN
45
- X-Powered-By:
46
- - Phusion Passenger Enterprise
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
47
37
  X-Request-Id:
48
- - 0c66d582-5e55-4f14-b839-1f9cad59c673
49
- X-Request-Start:
50
- - t=1490480391.785
38
+ - a10f3a92-9f06-4bdd-8077-53a359657865
51
39
  X-Runtime:
52
- - '0.013347'
53
- X-Xss-Protection:
54
- - 1; mode=block
55
- Transfer-Encoding:
56
- - chunked
40
+ - '0.025105'
41
+ Date:
42
+ - Fri, 31 Mar 2017 23:33:13 GMT
57
43
  Connection:
58
- - keep-alive
44
+ - close
59
45
  body:
60
- encoding: ASCII-8BIT
61
- string: !binary |-
62
- H4sIAAAAAAAAA5xW247bNhD9FSEPQQI08EO/YK3dzaatswakbh76NJZmLdYU
63
- R+BlDRX9+A4pex1ZpK36wRA858yFw7nwrw93VYXGkBZosn+zJWz9J5fOVg1L
64
- PmYPb6iE2gbkwy8JuiZjNlT3KUIB3pxMGigacrJGPfz/mD3RhpLkkmyIbAnV
65
- ruNfkvgDcYeKzXr2vXt9lZjkPtsG9QQsnNpKMCai9yMcKSaXEm1EroWxUSS4
66
- zs4cV6DfcB73d+yrBoSax34CO5coRqJZSg8SK6tJiep/qy5RzoysnGuyFNvG
67
- mkVBsSKJKbxXQdeBRsmSb8qKFuwQoQaTBP/0hbZHSKsXDXR4kTF1X1IXDvKl
68
- aIS2JoYtJblDgZ5DaaWC47DcGEnMJFVf0MSBEtQuCkyP9Ru3LbfC4tnZIWkn
69
- 2VVeTjCDNfW5JGupPUyb87P9BO5EGlyDSmJ/4HbLgzIFTwO612jOL67ofGg8
70
- rh6FVQyPwb1oD1mNyQ++YtCzwi+dwAqjaMHJyz6xWT9Ug5HPMVpOb6jdme/j
71
- sZYIzvZD/hQPLwxbBEGZocpi+Ip4JDot/klamFj3Q+mAcTu1HVECzUnVwgp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UWIGhQhglCEaEKRWBZm
89
- lFgZ/HPxao6w7Z4lDsvH+rAIkYiliEosRYRiKaIVS8Vy8cPFinUrrd4a97nH
90
- GLIKQ65u/rs4Ni0aKXZt4cb07QjZzPLOVJWmaWGESGvjRmDXaqbCgbCZIhmC
91
- 1slBaamZoXILJlMw9FXdB+SVOeH/BQr7ieH1jXLtSzopZgq04BB5UdKZm7SW
92
- cJ7gK+n39kEIfFx3ypWp6VbY/Ti2dLauDM3BtBy8pyqT8dlZZsPHlTI10430
93
- J18ZZMSbWvF+GDLQD7UjyEysoekZgbLTJCQzScIwlYeQ+xAdrt/+AAAA//8D
94
- AEjeaFaTGQAA
46
+ encoding: UTF-8
47
+ string: '["Accessories | Bags | Clutches & Evening Bags","Accessories | Bags
48
+ | Crossbody","Accessories | Bags | Satchels","Accessories | Bags | Shoulder
49
+ Bags & Hobos","Accessories | Bags | Totes & Backpacks","Accessories | Bags
50
+ | Weekenders & Duffles","Accessories | Bags | Other","Accessories | Sunglasses","Accessories
51
+ | Watches","Accessories | Wallets","Accessories | Wristlets","Accessories
52
+ | Other Accessories | Scarves","Accessories | Other Accessories | Keychains","Accessories
53
+ | Other Accessories | Hats","Accessories | Other Accessories | Hair Accessories","Accessories
54
+ | Other Accessories | Electronic Accessories","Accessories | Other Accessories
55
+ | Belts","Accessories | Other Accessories | Ties","Accessories | Other Accessories
56
+ | Tights/Socks","Accessories | Other Accessories | Other","Apparel | Intimates
57
+ | Bras","Apparel | Intimates | Underwear","Apparel | Intimates | Shapewear","Apparel
58
+ | Intimates | Other","Apparel | Tops | T-Shirts","Apparel | Tops | Blouses","Apparel
59
+ | Tops | Shirts","Apparel | Tops | Sweaters","Apparel | Tops | Sweatshirts","Apparel
60
+ | Tops | Vests","Apparel | Tops | Tanks","Apparel | Tops | Other","Apparel
61
+ | Jackets/Outerwear | Jackets","Apparel | Jackets/Outerwear | Coats","Apparel
62
+ | Jackets/Outerwear | Other","Apparel | Bottoms | Shorts","Apparel | Bottoms
63
+ | Skirts","Apparel | Bottoms | Pants","Apparel | Bottoms | Leggings","Apparel
64
+ | Bottoms | Other","Apparel | Dresses","Apparel | Sports & Fitness","Apparel
65
+ | Swim | Tops","Apparel | Swim | Bottoms","Apparel | Swim | One-pieces","Apparel
66
+ | Swim | Sets (Top & Bottom)","Apparel | Swim | Coverups","Apparel | Other","Beauty
67
+ | Skincare | Cleansers","Beauty | Skincare | Moisturizer","Beauty | Skincare
68
+ | Other","Beauty | Haircare | Shampoo","Beauty | Haircare | Conditioner","Beauty
69
+ | Haircare | Styling Tools","Beauty | Haircare | Other","Beauty | Hair Tools
70
+ | Flat Iron","Beauty | Hair Tools | Blow Dryer","Beauty | Hair Tools | Curling
71
+ Iron","Beauty | Hair Tools | Brushes","Beauty | Hair Tools | Other","Beauty
72
+ | Fragrance","Beauty | Makeup (Cosmetics) | Lip","Beauty | Makeup (Cosmetics)
73
+ | Eye","Beauty | Makeup (Cosmetics) | Face","Beauty | Makeup (Cosmetics) |
74
+ Cheek","Beauty | Makeup (Cosmetics) | Other","Beauty | Nails | Nail Polish","Beauty
75
+ | Nails | Nail Art","Beauty | Nails | Manicure Set","Beauty | Nails | Nail
76
+ Tools & Files","Beauty | Nails | Other","Beauty | Brushes | Face","Beauty
77
+ | Brushes | Eyes","Beauty | Brushes | Lip","Beauty | Brushes | Sets","Beauty
78
+ | Brushes | Other","Beauty | Bath & Body","Beauty | Other","Collectibles |
79
+ Memorabilia","Collectibles | Coins","Collectibles | Other","Edibles | Healthy","Edibles
80
+ | Desserts","Edibles | Gourmet","Edibles | Non Alcoholic Beverages","Edibles
81
+ | Other","Electronics | Audio | Headphones","Electronics | Audio | Home Theater
82
+ Systems","Electronics | Audio | Turntables","Electronics | Audio | MP3 Players","Electronics
83
+ | Audio | Shelf Systems","Electronics | Audio | Speakers","Electronics | Audio
84
+ | Other","Electronics | Hardware (Computers/Tablets/Phones) | TV","Electronics
85
+ | Hardware (Computers/Tablets/Phones) | Audio","Electronics | Hardware (Computers/Tablets/Phones)
86
+ | Mobile","Electronics | Hardware (Computers/Tablets/Phones) | Video","Electronics
87
+ | Hardware (Computers/Tablets/Phones) | Computers/Tablets","Electronics |
88
+ Hardware (Computers/Tablets/Phones) | Printers","Electronics | Hardware (Computers/Tablets/Phones)
89
+ | Other","Electronics | TV & Projectors","Electronics | Photography/Camera","Electronics
90
+ | Gaming","Electronics | Accessories","Electronics | Other","Home | Bed |
91
+ Pillows","Home | Bed | Sheets","Home | Bed | Comforter/Duvet","Home | Bed
92
+ | Throw","Home | Bed | Other","Home | Bath | Towels","Home | Bath | Other","Home
93
+ | Kitchen & Dining | Dinnerware","Home | Kitchen & Dining | Flatware","Home
94
+ | Kitchen & Dining | Serveware","Home | Kitchen & Dining | Bar & Glassware","Home
95
+ | Kitchen & Dining | Linens","Home | Kitchen & Dining | Other","Home | Lighting","Home
96
+ | Furniture","Home | Storage & Organization","Home | Electrics & Appliances
97
+ | Kitchen","Home | Electrics & Appliances | Cleaning","Home | Electrics &
98
+ Appliances | Other","Home | Decor | Art","Home | Decor | Wall Decor & Mirrors","Home
99
+ | Decor | Vases","Home | Decor | Other","Home | Outdoor | Tool","Home | Outdoor
100
+ | Seeds","Home | Outdoor | Outdoor Furniture","Home | Outdoor | Outdoor Accessories","Home
101
+ | Outdoor | Other","Home | Pet Supplies","Home | Other","Jewelry | Rings","Jewelry
102
+ | Necklaces","Jewelry | Bracelets","Jewelry | Earrings","Jewelry | Other","Jewelry
103
+ | Sets","Kids | Baby Apparel | Jackets/Outerwear","Kids | Baby Apparel | Tops","Kids
104
+ | Baby Apparel | Bottoms","Kids | Baby Apparel | Dresses","Kids | Baby Apparel
105
+ | Onesies","Kids | Baby Apparel | Pajamas","Kids | Baby Apparel | Sets","Kids
106
+ | Baby Apparel | Other","Kids | Toddler Apparel | Jackets/Outerwear","Kids
107
+ | Toddler Apparel | Tops","Kids | Toddler Apparel | Bottoms","Kids | Toddler
108
+ Apparel | Dresses","Kids | Toddler Apparel | Onesies","Kids | Toddler Apparel
109
+ | Pajamas","Kids | Toddler Apparel | Sets","Kids | Toddler Apparel | Other","Kids
110
+ | Kids/Youth Apparel | Jackets/Outerwear","Kids | Kids/Youth Apparel | Tops","Kids
111
+ | Kids/Youth Apparel | Bottoms","Kids | Kids/Youth Apparel | Dresses","Kids
112
+ | Kids/Youth Apparel | Onesies","Kids | Kids/Youth Apparel | Pajamas","Kids
113
+ | Kids/Youth Apparel | Sets","Kids | Kids/Youth Apparel | Other","Kids | Baby
114
+ Shoes | Boots","Kids | Baby Shoes | Sneakers","Kids | Baby Shoes | Sandals","Kids
115
+ | Baby Shoes | Booties","Kids | Baby Shoes | Other","Kids | Toddler Shoes
116
+ | Boots","Kids | Toddler Shoes | Sneakers","Kids | Toddler Shoes | Sandals","Kids
117
+ | Toddler Shoes | Booties","Kids | Toddler Shoes | Other","Kids | Kids/Youth
118
+ Shoes | Boots","Kids | Kids/Youth Shoes | Sneakers","Kids | Kids/Youth Shoes
119
+ | Sandals","Kids | Kids/Youth Shoes | Booties","Kids | Kids/Youth Shoes |
120
+ Other","Kids | Games & Toys","Shoes | Flats","Shoes | Heels","Shoes | Boots","Shoes
121
+ | Sneakers","Shoes | Sandals","Shoes | Wedges","Shoes | Other","Supplies |
122
+ Jewelry Supplies | Beads","Supplies | Jewelry Supplies | Charms","Supplies
123
+ | Jewelry Supplies | Pins","Supplies | Jewelry Supplies | Gemstones","Supplies
124
+ | Jewelry Supplies | Accessories","Supplies | Jewelry Supplies | Tools","Supplies
125
+ | Jewelry Supplies | Findings","Supplies | Jewelry Supplies | Other","Supplies
126
+ | Craft Supplies | Kits","Supplies | Craft Supplies | Fabric","Supplies |
127
+ Craft Supplies | Accessories","Supplies | Craft Supplies | Tools","Supplies
128
+ | Craft Supplies | Other","Supplies | Other","Other | Other"]'
95
129
  http_version:
96
- recorded_at: Sat, 25 Mar 2017 22:19:51 GMT
130
+ recorded_at: Fri, 31 Mar 2017 23:33:13 GMT
97
131
  recorded_with: VCR 3.0.3
@@ -2,17 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://tophatter.com/merchant_api/v1/metadata/colors.json
5
+ uri: http://tophatter.dev/merchant_api/v1/metadata/colors.json
6
6
  body:
7
- encoding: ASCII-8BIT
8
- string: ''
7
+ encoding: UTF-8
8
+ string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*; q=0.5, application/xml"
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  Content-Length:
15
- - '0'
15
+ - '45'
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  User-Agent:
@@ -22,46 +22,29 @@ http_interactions:
22
22
  code: 200
23
23
  message: OK
24
24
  headers:
25
- Cache-Control:
26
- - max-age=0, private, must-revalidate
27
- Content-Encoding:
28
- - gzip
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
29
31
  Content-Type:
30
32
  - application/json; charset=utf-8
31
- Date:
32
- - Sat, 25 Mar 2017 22:19:54 GMT
33
33
  Etag:
34
34
  - W/"5653d45e453cf836f07f7c0b00b45dd1"
35
- Server:
36
- - nginx + Phusion Passenger
37
- Status:
38
- - 200 OK
39
- Vary:
40
- - Accept-Encoding
41
- X-Content-Type-Options:
42
- - nosniff
43
- X-Frame-Options:
44
- - SAMEORIGIN
45
- X-Powered-By:
46
- - Phusion Passenger Enterprise
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
47
37
  X-Request-Id:
48
- - 66ba0f2e-c1dd-4d6d-b936-d9fa4b572e6d
49
- X-Request-Start:
50
- - t=1490480393.993
38
+ - 8fad2ec1-fa98-4500-ab35-caebe001ffdd
51
39
  X-Runtime:
52
- - '0.014423'
53
- X-Xss-Protection:
54
- - 1; mode=block
55
- Content-Length:
56
- - '111'
40
+ - '0.020794'
41
+ Date:
42
+ - Fri, 31 Mar 2017 23:33:13 GMT
57
43
  Connection:
58
- - keep-alive
44
+ - close
59
45
  body:
60
- encoding: ASCII-8BIT
61
- string: !binary |-
62
- H4sIAAAAAAAAAxxMOwqAMAy9S2ZPoYOjooOIOAR9aDG0EqzF29t0ev+30ICd
63
- KuqU/YFMZoiElEmrgM9YSzS/j3oLiubtyjid7kHp8We58+bWGpKtRicv1OIg
64
- 9t8IWGn9AQAA//8DAJ+V5R5vAAAA
46
+ encoding: UTF-8
47
+ string: '["Red","Orange","Yellow","Green","Blue","Purple","Black","White","Gray","Pink","Brown","Silver","Gold","Clear"]'
65
48
  http_version:
66
- recorded_at: Sat, 25 Mar 2017 22:19:53 GMT
49
+ recorded_at: Fri, 31 Mar 2017 23:33:13 GMT
67
50
  recorded_with: VCR 3.0.3