--- http_interactions: - request: method: get uri: https://offer-demo.adcrws.com/v1/categories/1000?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_filters Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Max-Age: - '1728000' Access-Control-Request-Method: - GET Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - Wed, 16 Sep 2015 19:54:08 GMT Etag: - '"3b24a9589e2b3a60e10a64353bf6118c"' Server: - nginx/1.6.2 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: - '1000' X-Ratelimit-Remaining: - '964' X-Request-Id: - 31700876-1873-41da-a2ac-9c89d7493557 X-Runtime: - '0.030884' X-Xss-Protection: - 1; mode=block Content-Length: - '3725' Connection: - keep-alive body: encoding: UTF-8 string: |- { "categories": [ { "category_name": "Auto Body & Paint", "category_key": 1000, "category_type": "subcategory", "category_parent_name": "Automotive", "category_parent_key": 51, "links": { "show_category": "https://offer-demo.adcrws.com/v1/categories/1000", "show_parent_category": "https://offer-demo.adcrws.com/v1/categories/51", "find_offers_in_this_category": "https://offer-demo.adcrws.com/v1/offers?category_key=1000" }, "subcategory_siblings": [ { "category_name": "Auto Parts", "category_key": 1001, "category_type": "subcategory", "category_parent_name": "Automotive", "category_parent_key": 51, "links": { "show_category": "https://offer-demo.adcrws.com/v1/categories/1001", "show_parent_category": "https://offer-demo.adcrws.com/v1/categories/51", "find_offers_in_this_category": "https://offer-demo.adcrws.com/v1/offers?category_key=1001" } }, { "category_name": "Auto Sales & Warranties", "category_key": 1006, "category_type": "subcategory", "category_parent_name": "Automotive", "category_parent_key": 51, "links": { "show_category": "https://offer-demo.adcrws.com/v1/categories/1006", "show_parent_category": "https://offer-demo.adcrws.com/v1/categories/51", "find_offers_in_this_category": "https://offer-demo.adcrws.com/v1/offers?category_key=1006" } }, { "category_name": "Auto Service & Repair", "category_key": 1002, "category_type": "subcategory", "category_parent_name": "Automotive", "category_parent_key": 51, "links": { "show_category": "https://offer-demo.adcrws.com/v1/categories/1002", "show_parent_category": "https://offer-demo.adcrws.com/v1/categories/51", "find_offers_in_this_category": "https://offer-demo.adcrws.com/v1/offers?category_key=1002" } }, { "category_name": "Car Wash & Detail", "category_key": 1003, "category_type": "subcategory", "category_parent_name": "Automotive", "category_parent_key": 51, "links": { "show_category": "https://offer-demo.adcrws.com/v1/categories/1003", "show_parent_category": "https://offer-demo.adcrws.com/v1/categories/51", "find_offers_in_this_category": "https://offer-demo.adcrws.com/v1/offers?category_key=1003" } }, { "category_name": "Gas Station", "category_key": 1004, "category_type": "subcategory", "category_parent_name": "Automotive", "category_parent_key": 51, "links": { "show_category": "https://offer-demo.adcrws.com/v1/categories/1004", "show_parent_category": "https://offer-demo.adcrws.com/v1/categories/51", "find_offers_in_this_category": "https://offer-demo.adcrws.com/v1/offers?category_key=1004" } }, { "category_name": "Tires", "category_key": 1005, "category_type": "subcategory", "category_parent_name": "Automotive", "category_parent_key": 51, "links": { "show_category": "https://offer-demo.adcrws.com/v1/categories/1005", "show_parent_category": "https://offer-demo.adcrws.com/v1/categories/51", "find_offers_in_this_category": "https://offer-demo.adcrws.com/v1/offers?category_key=1005" } } ] } ] } http_version: recorded_at: Wed, 16 Sep 2015 19:54:08 GMT recorded_with: VCR 2.9.3