citygrid_api 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. data/.sass-cache/c6f2c767b164f077e5b9fb1f18a7886d7c755211/test.scssc +0 -0
  2. data/README.rdoc +42 -13
  3. data/Rakefile +2 -2
  4. data/VERSION +1 -1
  5. data/citygrid_api.gemspec +23 -12
  6. data/citygrid_api.yml.sample +10 -2
  7. data/citygrid_api.yml.sandbox +46 -0
  8. data/dashboard.rb +1 -1
  9. data/fixtures/vcr_cassettes/AdGroupCriterion_mutate.yml +3 -3
  10. data/fixtures/vcr_cassettes/AdGroupCriterion_search.yml +3 -3
  11. data/fixtures/vcr_cassettes/Adding_a_place.yml +4 -4
  12. data/fixtures/vcr_cassettes/Geo.yml +30 -13
  13. data/fixtures/vcr_cassettes/Getting_an_offer.yml +413 -0
  14. data/fixtures/vcr_cassettes/Getting_an_offer_by_listing_ID.yml +12 -12
  15. data/fixtures/vcr_cassettes/Import_a_cg_account.yml +28 -16
  16. data/fixtures/vcr_cassettes/Initiating_a_Details.yml +14 -30
  17. data/fixtures/vcr_cassettes/Initiating_new_MultiDetails.yml +13 -13
  18. data/fixtures/vcr_cassettes/Mutating_AdGroup_Ads.yml +4 -4
  19. data/fixtures/vcr_cassettes/Report_summary_daily.yml +34 -34
  20. data/fixtures/vcr_cassettes/Report_summary_user_actions.yml +14 -10
  21. data/fixtures/vcr_cassettes/Search_Ad_Group_by_Campaign_Id.yml +3 -3
  22. data/fixtures/vcr_cassettes/Search_Billing_by_Campaign_Id.yml +31 -12
  23. data/fixtures/vcr_cassettes/Search_account_manager_by_Campaign_Id.yml +25 -12
  24. data/fixtures/vcr_cassettes/Searching_AdGroup_Geo.yml +6 -6
  25. data/fixtures/vcr_cassettes/Searching_budgets.yml +31 -12
  26. data/fixtures/vcr_cassettes/Searching_categories_by_listing_id.yml +3 -3
  27. data/fixtures/vcr_cassettes/Searching_categories_by_query.yml +3 -3
  28. data/fixtures/vcr_cassettes/Upload_an_image_Add_a_preview.yml +31 -12
  29. data/fixtures/vcr_cassettes/{Method_of_Payment_mutate.yml → create_a_mop.yml} +24 -12
  30. data/fixtures/vcr_cassettes/create_an_offer.yml +51 -0
  31. data/fixtures/vcr_cassettes/create_campaign.yml +5 -5
  32. data/fixtures/vcr_cassettes/create_campaign_then_create_ad_group_belonging_to_campaign.yml +61 -0
  33. data/fixtures/vcr_cassettes/create_campaign_then_create_ad_group_belonging_to_campaign_then_search_.yml +91 -0
  34. data/fixtures/vcr_cassettes/getting_reviews_by_listing_id.yml +91 -0
  35. data/fixtures/vcr_cassettes/log_in_a_session.yml +3 -3
  36. data/fixtures/vcr_cassettes/log_in_a_session_mutate_places.yml +7 -7
  37. data/fixtures/vcr_cassettes/query_account_type_by_id.yml +24 -12
  38. data/fixtures/vcr_cassettes/search_for_an_account_by_id.yml +24 -13
  39. data/fixtures/vcr_cassettes/search_for_an_account_by_name.yml +27 -17
  40. data/fixtures/vcr_cassettes/search_for_call_detail_by_campaign.yml +49 -0
  41. data/fixtures/vcr_cassettes/search_for_mop_by_account_id.yml +65 -0
  42. data/fixtures/vcr_cassettes/searching_for_a_CityGrid_listing.yml +57 -53
  43. data/fixtures/vcr_cassettes/searching_for_a_special_CityGrid_listing.yml +10 -10
  44. data/fixtures/vcr_cassettes/user_log_in_with_raw_API.yml +24 -0
  45. data/fixtures/vcr_cassettes/user_log_in_with_session.yml +24 -0
  46. data/lib/citygrid/api/accounts/account.rb +2 -2
  47. data/lib/citygrid/api/accounts/method_of_payment.rb +2 -2
  48. data/lib/citygrid/api/accounts/user.rb +8 -4
  49. data/lib/citygrid/api/advertising/account_manager.rb +1 -1
  50. data/lib/citygrid/api/advertising/ad_group.rb +2 -2
  51. data/lib/citygrid/api/advertising/ad_group_ad.rb +2 -2
  52. data/lib/citygrid/api/advertising/ad_group_criterion.rb +2 -2
  53. data/lib/citygrid/api/advertising/ad_group_geo.rb +2 -2
  54. data/lib/citygrid/api/advertising/billing.rb +2 -1
  55. data/lib/citygrid/api/advertising/budget.rb +2 -2
  56. data/lib/citygrid/api/advertising/call_detail.rb +2 -2
  57. data/lib/citygrid/api/advertising/campaign.rb +2 -2
  58. data/lib/citygrid/api/advertising/category.rb +2 -2
  59. data/lib/citygrid/api/advertising/geolocation.rb +2 -2
  60. data/lib/citygrid/api/advertising/image.rb +3 -3
  61. data/lib/citygrid/api/advertising/offers.rb +10 -0
  62. data/lib/citygrid/api/advertising/places.rb +2 -2
  63. data/lib/citygrid/api/content/offers.rb +11 -2
  64. data/lib/citygrid/api/content/places.rb +1 -1
  65. data/lib/citygrid/api/content/response.rb +14 -0
  66. data/lib/citygrid/api/content/reviews.rb +5 -2
  67. data/lib/citygrid/api/mutable.rb +13 -0
  68. data/lib/citygrid/api/searchable.rb +4 -6
  69. data/lib/citygrid/api.rb +70 -52
  70. data/lib/citygrid/session.rb +5 -9
  71. data/lib/citygrid.rb +28 -1
  72. data/test/api/accounts/test_account.rb +53 -32
  73. data/test/api/accounts/test_method_of_payment.rb +40 -43
  74. data/test/api/accounts/test_user.rb +16 -0
  75. data/test/api/advertising/test_call_detail.rb +17 -2
  76. data/test/api/advertising/test_offers.rb +33 -0
  77. data/test/api/advertising/test_places.rb +18 -0
  78. data/test/api/content/test_offers.rb +14 -14
  79. data/test/api/content/test_response.rb +51 -0
  80. data/test/api/content/test_reviews.rb +11 -0
  81. data/test/helper.rb +18 -11
  82. metadata +41 -29
  83. data/README +0 -21
  84. data/citygrid_api.yml.backup +0 -35
  85. data/fixtures/vcr_cassettes/Call_Detail_by_campaign.yml +0 -79
  86. data/fixtures/vcr_cassettes/Method_of_Payment_search.yml +0 -59
  87. data/lib/citygrid/api/mutatable.rb +0 -15
@@ -15,7 +15,7 @@
15
15
  message: OK
16
16
  headers:
17
17
  date:
18
- - Fri, 30 Dec 2011 01:06:18 GMT
18
+ - Sat, 31 Dec 2011 01:13:28 GMT
19
19
  server:
20
20
  - Apache-Coyote/1.1
21
21
  content-type:
@@ -25,43 +25,61 @@
25
25
  transfer-encoding:
26
26
  - chunked
27
27
  body: ! '{"results":{"query_id":null,"uri":"http://api.citygridmedia.com/search/places/v2/search/where?has_offers=false&format=json&page=1&rpp=20&histograms=false&what=sushi&where=Seattle&publisher=citygrid&region_type=circle","first_hit":1,"last_hit":20,"total_hits":52,"page":1,"rpp":20,"did_you_mean":null,"regions":[{"type":"city","name":"Seattle,
28
- WA","latitude":47.620434,"longitude":-122.35101,"default_radius":11.9400}],"histograms":[],"locations":[{"id":11349395,"featured":false,"name":"Wasabi
29
- Bistro","address":{"street":"2311 2nd Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Belltown,
30
- Downtown","latitude":47.6141,"longitude":-122.346,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/95/0d/11349395p1.jpg","phone_number":"2064416044","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/11349395/seattle_wa/wasabi_bistro.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":101,"sample_categories":"Restaurants,
31
- Dine At The Bar, MasterCard, Sushi, Japanese","impression_id":"000b00000011708d48ff574e6b8438d115ebd0871b","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
32
- At The Bar","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11269,"name":"Group
33
- Dining","primary":false},{"id":11232,"name":"$$","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11219,"name":"French","primary":false},{"id":11333,"name":"American
34
- Express","primary":false},{"id":11298,"name":"People Watching","primary":false}],"public_id":"wasabi-bistro-seattle"},{"id":41928927,"featured":true,"name":"Umi
28
+ WA","latitude":47.620434,"longitude":-122.35101,"default_radius":11.9400}],"histograms":[],"locations":[{"id":36913040,"featured":true,"name":"Kisaku
29
+ Sushi Restaurant","address":{"street":"2101 N 55th St","city":"Seattle","state":"WA","postal_code":"98103"},"neighborhood":"Wallingford,
30
+ Lake Union","latitude":47.66867,"longitude":-122.333652,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/merchant/2010/9/2/0/ZCDLBSLz149.jpeg","phone_number":"4253361689","fax_number":null,"rating":9.0,"tagline":"One
31
+ of Seattle''s Favorite Sushi Restaurants!","profile":"http://seattle.citysearch.com/profile/36913040/seattle_wa/kisaku_sushi_restaurant.html","website":"http://seattle.citysearch.com/profile/external/36913040/seattle_wa/kisaku_sushi_restaurant.html","has_video":false,"has_offers":false,"offers":null,"user_review_count":52,"sample_categories":"Restaurants,
32
+ Sushi, Seafood, Lunch Spot","impression_id":"000b000000480cb3a274154b91b897224017cd5f4b","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11228,"name":"Seafood","primary":false},{"id":11286,"name":"Lunch
33
+ Spot","primary":false}],"public_id":"kisaku-sushi-restaurant-seattle"},{"id":41928927,"featured":true,"name":"Umi
35
34
  Sake House","address":{"street":"2230 First Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Downtown,
36
- Belltown","latitude":47.612844,"longitude":-122.345644,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/f2/7a/V-SEAWA-55089002_ID162741_guide_inclusion.jpg","phone_number":"2069737789","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41928927/seattle_wa/umi_sake_house.html","website":"http://seattle.citysearch.com/profile/external/41928927/seattle_wa/umi_sake_house.html","has_video":false,"has_offers":true,"offers":"happy
35
+ Belltown","latitude":47.612844,"longitude":-122.345644,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/f2/7a/V-SEAWA-55089002_ID162741_guide_inclusion.jpg","phone_number":"2069737789","fax_number":null,"rating":8.0,"tagline":"Casual
36
+ Japanese Izakaya-style dining goes upscale at this trendy-but-welcoming Belltown
37
+ sushi and sake house.","profile":"http://seattle.citysearch.com/profile/41928927/seattle_wa/umi_sake_house.html","website":"http://seattle.citysearch.com/profile/external/41928927/seattle_wa/umi_sake_house.html","has_video":false,"has_offers":true,"offers":"happy
37
38
  hour at umi sake house 4-6pm every day!","user_review_count":90,"sample_categories":"Catering,
38
- Bars & Pubs, Restaurants, Bar Scene, Sushi","impression_id":"000b000000c9ecab1a53f842fcafd0340c917a88af","expansion":{"count":null,"uri":null},"tags":[{"id":1705,"name":"Catering","primary":false},{"id":1686,"name":"Bars
39
+ Bars & Pubs, Restaurants, Bar Scene, Sushi","impression_id":"000b0000006617f47e173f4d06998628d898274c66","expansion":{"count":null,"uri":null},"tags":[{"id":1705,"name":"Catering","primary":false},{"id":1686,"name":"Bars
39
40
  & Pubs","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11238,"name":"Bar
40
41
  Scene","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11269,"name":"Group
41
42
  Dining","primary":false},{"id":11232,"name":"$$","primary":false},{"id":11367,"name":"Open
42
43
  7 Days","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11304,"name":"Private
43
44
  Rooms","primary":false},{"id":11282,"name":"Late Night Dining","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
44
- Express","primary":false},{"id":11271,"name":"Happy Hour","primary":false}],"public_id":"umi-sake-house-seattle-2"},{"id":36913040,"featured":true,"name":"Kisaku
45
- Sushi Restaurant","address":{"street":"2101 N 55th St","city":"Seattle","state":"WA","postal_code":"98103"},"neighborhood":"Wallingford,
46
- Lake Union","latitude":47.66867,"longitude":-122.333652,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/merchant/2010/9/2/0/ZCDLBSLz149.jpeg","phone_number":"4253361689","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/36913040/seattle_wa/kisaku_sushi_restaurant.html","website":"http://seattle.citysearch.com/profile/external/36913040/seattle_wa/kisaku_sushi_restaurant.html","has_video":false,"has_offers":false,"offers":null,"user_review_count":52,"sample_categories":"Restaurants,
47
- Sushi, Seafood, Lunch Spot","impression_id":"000b000000ca4552b298a4432db0fe25e2577ca488","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11228,"name":"Seafood","primary":false},{"id":11286,"name":"Lunch
48
- Spot","primary":false}],"public_id":"kisaku-sushi-restaurant-seattle"},{"id":15088428,"featured":false,"name":"Ototo
45
+ Express","primary":false},{"id":11271,"name":"Happy Hour","primary":false}],"public_id":"umi-sake-house-seattle-2"},{"id":11349395,"featured":false,"name":"Wasabi
46
+ Bistro","address":{"street":"2311 2nd Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Belltown,
47
+ Downtown","latitude":47.6141,"longitude":-122.346,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/95/0d/11349395p1.jpg","phone_number":"2064416044","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/11349395/seattle_wa/wasabi_bistro.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":101,"sample_categories":"Restaurants,
48
+ MasterCard, Dine At The Bar, Sushi, Japanese","impression_id":"000b000000f5b2dc25b1bf45f78a8823801c0dcb0c","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11258,"name":"Dine
49
+ At The Bar","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11269,"name":"Group
50
+ Dining","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11232,"name":"$$","primary":false},{"id":11219,"name":"French","primary":false},{"id":11333,"name":"American
51
+ Express","primary":false},{"id":11298,"name":"People Watching","primary":false}],"public_id":"wasabi-bistro-seattle"},{"id":41916621,"featured":true,"name":"Liberty","address":{"street":"517
52
+ 15th Ave E","city":"Seattle","state":"WA","postal_code":"98102"},"neighborhood":"Capitol
53
+ Hill, Broadway","latitude":47.623421,"longitude":-122.312622,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/7b/e4/41916621p1.jpg","phone_number":"2069730073","fax_number":null,"rating":9.0,"tagline":"Liberty
54
+ is Capitol Hill�s Neighborhood Lounge for Cocktails and Sushi!","profile":"http://seattle.citysearch.com/profile/41916621/seattle_wa/liberty.html","website":"http://seattle.citysearch.com/profile/external/41916621/seattle_wa/liberty.html","has_video":false,"has_offers":false,"offers":null,"user_review_count":25,"sample_categories":"Ski
55
+ Resorts, Neighborhood Bars, Whiskey Bars, Lounges, Bars & Pubs","impression_id":"000b000000170d94862f2143f887efb3bb4f433b93","expansion":{"count":null,"uri":null},"tags":[{"id":4309,"name":"Ski
56
+ Resorts","primary":false},{"id":1698,"name":"Neighborhood Bars","primary":false},{"id":1703,"name":"Whiskey
57
+ Bars","primary":false},{"id":1697,"name":"Lounges","primary":false},{"id":1686,"name":"Bars
58
+ & Pubs","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11237,"name":"Bar
59
+ Menu","primary":false},{"id":10038,"name":"Private Parties","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11065,"name":"Bar
60
+ Menu","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11256,"name":"Date
61
+ Spot","primary":false},{"id":11099,"name":"Martinis","primary":false},{"id":11090,"name":"Happy
62
+ Hour","primary":false},{"id":11304,"name":"Private Rooms","primary":false},{"id":11085,"name":"Draft
63
+ Beer","primary":false},{"id":10041,"name":"Specialty Cocktails","primary":false},{"id":11086,"name":"Drink
64
+ Specials","primary":false},{"id":11271,"name":"Happy Hour","primary":false},{"id":11324,"name":"Upscale
65
+ Casual Dining","primary":false},{"id":11307,"name":"Romantic Dining","primary":false},{"id":10015,"name":"After
66
+ Work","primary":false}],"public_id":"liberty-seattle-2"},{"id":15088428,"featured":false,"name":"Ototo
49
67
  Sushi","address":{"street":"7 Boston St","city":"Seattle","state":"WA","postal_code":"98109"},"neighborhood":"Magnolia
50
- - Queen Anne, East Queen Anne, Magnolia / Queen Anne","latitude":47.6383,"longitude":-122.3567,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/13/7b/15088428p1.jpg","phone_number":"2066913838","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/15088428/seattle_wa/ototo_sushi.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":80,"sample_categories":"Restaurants,
51
- MasterCard, Local Favorite, Outdoor Dining, Sushi","impression_id":"000b000000463716dc43a94f728c4abdab4ee26acc","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
68
+ - Queen Anne, East Queen Anne, Magnolia / Queen Anne","latitude":47.6383,"longitude":-122.3567,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/13/7b/V-SEAWA-55013052_ID65509_guide_inclusion.jpg","phone_number":"2066913838","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/15088428/seattle_wa/ototo_sushi.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":80,"sample_categories":"Restaurants,
69
+ MasterCard, Local Favorite, Outdoor Dining, Sushi","impression_id":"000b0000008a90d01c2a4645669bf1358c451a3e8b","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
52
70
  Favorite","primary":false},{"id":11296,"name":"Outdoor Dining","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11232,"name":"$$","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11262,"name":"Family
53
71
  Style Dining","primary":false},{"id":11286,"name":"Lunch Spot","primary":false},{"id":11307,"name":"Romantic
54
72
  Dining","primary":false}],"public_id":"ototo-sushi-seattle"},{"id":10789937,"featured":false,"name":"Nishino","address":{"street":"3130
55
73
  E Madison St","city":"Seattle","state":"WA","postal_code":"98112"},"neighborhood":"Capitol
56
74
  Hill, Washington Park","latitude":47.62662,"longitude":-122.29167,"distance":null,"image":null,"phone_number":"2063225800","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10789937/seattle_wa/nishino.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":68,"sample_categories":"Restaurants,
57
- Dine At The Bar, MasterCard, Local Favorite, Sushi","impression_id":"000b0000000782ddff4f1342729a643feb0f39ca4b","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
58
- At The Bar","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
59
- Favorite","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11233,"name":"$$$","primary":false},{"id":11269,"name":"Group
75
+ MasterCard, Dine At The Bar, Local Favorite, Sushi","impression_id":"000b000000f3b98e611a2644ecbc0364995a827c9d","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11258,"name":"Dine
76
+ At The Bar","primary":false},{"id":11284,"name":"Local Favorite","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11233,"name":"$$$","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11269,"name":"Group
60
77
  Dining","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
61
78
  Express","primary":false},{"id":11367,"name":"Open 7 Days","primary":false}],"public_id":"nishino-seattle"},{"id":41662071,"featured":true,"name":"Nijo","address":{"street":"83
62
79
  Spring St","city":"Seattle","state":"WA","postal_code":"98104"},"neighborhood":"Central
63
- Business District, Downtown","latitude":47.605,"longitude":-122.3376,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/41/a7/V-SEAWA-55058479_ID90112_guide_inclusion.gif","phone_number":"2063884119","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41662071/seattle_wa/nijo.html","website":"http://seattle.citysearch.com/profile/external/41662071/seattle_wa/nijo.html","has_video":false,"has_offers":false,"offers":null,"user_review_count":37,"sample_categories":"Bars
64
- & Pubs, Restaurants, Dine At The Bar, Bar Scene, Sushi","impression_id":"000b00000073b6a82ac770401aa533b2beb775bc85","expansion":{"count":null,"uri":null},"tags":[{"id":1686,"name":"Bars
80
+ Business District, Downtown","latitude":47.605,"longitude":-122.3376,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/41/a7/V-SEAWA-55058479_ID90112_guide_inclusion.gif","phone_number":"2063884119","fax_number":null,"rating":8.0,"tagline":"Highest
81
+ quality seafood, prepared in both traditional and cutting edge styles.","profile":"http://seattle.citysearch.com/profile/41662071/seattle_wa/nijo.html","website":"http://seattle.citysearch.com/profile/external/41662071/seattle_wa/nijo.html","has_video":false,"has_offers":false,"offers":null,"user_review_count":37,"sample_categories":"Bars
82
+ & Pubs, Restaurants, Dine At The Bar, Bar Scene, Sushi","impression_id":"000b0000003b1ecc60be094d73b5305ca41f408682","expansion":{"count":null,"uri":null},"tags":[{"id":1686,"name":"Bars
65
83
  & Pubs","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
66
84
  At The Bar","primary":false},{"id":11238,"name":"Bar Scene","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11231,"name":"$","primary":false},{"id":11286,"name":"Lunch
67
85
  Spot","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11296,"name":"Outdoor
@@ -69,13 +87,13 @@
69
87
  Express","primary":false},{"id":11271,"name":"Happy Hour","primary":false}],"public_id":"nijo-seattle"},{"id":10776750,"featured":false,"name":"Maneki
70
88
  Restaurant","address":{"street":"304 6th Ave S","city":"Seattle","state":"WA","postal_code":"98104"},"neighborhood":"Downtown,
71
89
  International District","latitude":47.5998,"longitude":-122.3261,"distance":null,"image":null,"phone_number":"2066222631","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10776750/seattle_wa/maneki_restaurant.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":54,"sample_categories":"Banquet
72
- Rooms, Restaurants, MasterCard, Local Favorite, Cash","impression_id":"000b000000769205dc81fe4c87b10bb4b15b44cf12","expansion":{"count":null,"uri":null},"tags":[{"id":3495,"name":"Banquet
90
+ Rooms, Restaurants, MasterCard, Local Favorite, Cash","impression_id":"000b0000009d6b0c1bf26f4897aff18a100cc4fd2e","expansion":{"count":null,"uri":null},"tags":[{"id":3495,"name":"Banquet
73
91
  Rooms","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
74
92
  Favorite","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11231,"name":"$","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
75
93
  Express","primary":false},{"id":11272,"name":"Hidden Find","primary":false}],"public_id":"maneki-restaurant-seattle"},{"id":10767399,"featured":false,"name":"Dragonfish
76
94
  Asian Cafe","address":{"street":"722 Pine St","city":"Seattle","state":"WA","postal_code":"98101"},"neighborhood":"Central
77
- Business District, Downtown","latitude":47.6128,"longitude":-122.334,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/e3/a8/V-SEAWA-00041525_ID62618_guide_inclusion.jpg","phone_number":"2064677777","fax_number":null,"rating":7.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10767399/seattle_wa/dragonfish_asian_cafe.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":69,"sample_categories":"Catering,
78
- Banquet Rooms, Restaurants, Cheap Eats, Dine At The Bar","impression_id":"000b000000a12f5eb65c044b79b82aa1b55becec51","expansion":{"count":null,"uri":null},"tags":[{"id":1705,"name":"Catering","primary":false},{"id":3495,"name":"Banquet
95
+ Business District, Downtown","latitude":47.6128,"longitude":-122.334,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/e3/a8/10767399p1.jpg","phone_number":"2064677777","fax_number":null,"rating":7.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10767399/seattle_wa/dragonfish_asian_cafe.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":69,"sample_categories":"Catering,
96
+ Banquet Rooms, Restaurants, Cheap Eats, Dine At The Bar","impression_id":"000b0000006abd60d8ee20494da328b6803681ac3d","expansion":{"count":null,"uri":null},"tags":[{"id":1705,"name":"Catering","primary":false},{"id":3495,"name":"Banquet
79
97
  Rooms","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11249,"name":"Cheap
80
98
  Eats","primary":false},{"id":11258,"name":"Dine At The Bar","primary":false},{"id":11238,"name":"Bar
81
99
  Scene","primary":false},{"id":11275,"name":"Hotel Restaurants","primary":false},{"id":11235,"name":"Asian","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11244,"name":"Business
@@ -87,58 +105,44 @@
87
105
  Express","primary":false}],"public_id":"dragonfish-asian-cafe-seattle"},{"id":10792523,"featured":false,"name":"Mashiko
88
106
  Japanese Restaurant","address":{"street":"4725 California Ave SW","city":"Seattle","state":"WA","postal_code":"98116"},"neighborhood":"West
89
107
  Seattle, Junction","latitude":47.5606,"longitude":-122.3868,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/07/a6/10792523p1.jpg","phone_number":"2069354339","fax_number":null,"rating":7.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10792523/seattle_wa/mashiko_japanese_restaurant.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":66,"sample_categories":"Restaurants,
90
- MasterCard, Cash, Sushi, Japanese","impression_id":"000b000000b8bc36b4fe8c44aaa5a125e2f4b6e4af","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11231,"name":"$","primary":false},{"id":11382,"name":"Visa","primary":false}],"public_id":"mashiko-japanese-restaurant-seattle"},{"id":10796501,"featured":false,"name":"Shiro''s","address":{"street":"2401
108
+ MasterCard, Cash, Sushi, Japanese","impression_id":"000b0000003c6d4f01bd51415eb8b15ba2e0b4e1e2","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11231,"name":"$","primary":false},{"id":11382,"name":"Visa","primary":false}],"public_id":"mashiko-japanese-restaurant-seattle"},{"id":10796501,"featured":false,"name":"Shiro''s","address":{"street":"2401
91
109
  2nd Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Belltown,
92
110
  Downtown","latitude":47.6148,"longitude":-122.347,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/93/93/V-SEAWA-00067333_ID150695_guide_inclusion.jpg","phone_number":"2064439844","fax_number":"2064439974","rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10796501/seattle_wa/shiro_s.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":57,"sample_categories":"Restaurants,
93
- Dine At The Bar, Sushi, Japanese, Date Spot","impression_id":"000b00000062ef1fa6525a4866ba36ed7210a0d451","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
111
+ Dine At The Bar, Sushi, Japanese, Date Spot","impression_id":"000b000000b621bf9ea4a04b7a96abfb9cf968d123","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
94
112
  At The Bar","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11256,"name":"Date
95
113
  Spot","primary":false},{"id":11269,"name":"Group Dining","primary":false},{"id":11232,"name":"$$","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
96
114
  Favorite","primary":false},{"id":11293,"name":"Notable Chef","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
97
- Express","primary":false},{"id":11251,"name":"Chef''s Table","primary":false}],"public_id":"shiros-seattle"},{"id":41916621,"featured":true,"name":"Liberty","address":{"street":"517
98
- 15th Ave E","city":"Seattle","state":"WA","postal_code":"98102"},"neighborhood":"Capitol
99
- Hill, Broadway","latitude":47.623421,"longitude":-122.312622,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/7b/e4/41916621p1.jpg","phone_number":"2069730073","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41916621/seattle_wa/liberty.html","website":"http://seattle.citysearch.com/profile/external/41916621/seattle_wa/liberty.html","has_video":false,"has_offers":false,"offers":null,"user_review_count":25,"sample_categories":"Ski
100
- Resorts, Neighborhood Bars, Whiskey Bars, Lounges, Bars & Pubs","impression_id":"000b0000004af1abd241ae40dfacc8d2a96cf7a1d3","expansion":{"count":null,"uri":null},"tags":[{"id":4309,"name":"Ski
101
- Resorts","primary":false},{"id":1698,"name":"Neighborhood Bars","primary":false},{"id":1703,"name":"Whiskey
102
- Bars","primary":false},{"id":1697,"name":"Lounges","primary":false},{"id":1686,"name":"Bars
103
- & Pubs","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11237,"name":"Bar
104
- Menu","primary":false},{"id":10038,"name":"Private Parties","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11065,"name":"Bar
105
- Menu","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11256,"name":"Date
106
- Spot","primary":false},{"id":11099,"name":"Martinis","primary":false},{"id":11090,"name":"Happy
107
- Hour","primary":false},{"id":11304,"name":"Private Rooms","primary":false},{"id":11085,"name":"Draft
108
- Beer","primary":false},{"id":11086,"name":"Drink Specials","primary":false},{"id":10041,"name":"Specialty
109
- Cocktails","primary":false},{"id":11271,"name":"Happy Hour","primary":false},{"id":11324,"name":"Upscale
110
- Casual Dining","primary":false},{"id":11307,"name":"Romantic Dining","primary":false},{"id":10015,"name":"After
111
- Work","primary":false}],"public_id":"liberty-seattle-2"},{"id":41514976,"featured":false,"name":"Rain
115
+ Express","primary":false},{"id":11251,"name":"Chef''s Table","primary":false}],"public_id":"shiros-seattle"},{"id":41514976,"featured":false,"name":"Rain
112
116
  Modern Infusion Cuisine","address":{"street":"2208 N 45th St","city":"Seattle","state":"WA","postal_code":"98103"},"neighborhood":"Lake
113
117
  Union, Wallingford","latitude":47.6615,"longitude":-122.3322,"distance":null,"image":null,"phone_number":"2065457848","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41514976/seattle_wa/rain_modern_infusion_cuisine.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":49,"sample_categories":"Catering,
114
- Restaurants, Bar Menu, Dine At The Bar, Asian","impression_id":"000b000000c09eab7a40c54ea9a7cb8359a8ba15f9","expansion":{"count":null,"uri":null},"tags":[{"id":1705,"name":"Catering","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11237,"name":"Bar
118
+ Restaurants, Bar Menu, Dine At The Bar, Asian","impression_id":"000b0000001cbd89092fe441bd9ad3faee24444afb","expansion":{"count":null,"uri":null},"tags":[{"id":1705,"name":"Catering","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11237,"name":"Bar
115
119
  Menu","primary":false},{"id":11258,"name":"Dine At The Bar","primary":false},{"id":11235,"name":"Asian","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11231,"name":"$","primary":false},{"id":11256,"name":"Date
116
120
  Spot","primary":false},{"id":12838,"name":"Asian Fusion","primary":false},{"id":11367,"name":"Open
117
121
  7 Days","primary":false},{"id":11286,"name":"Lunch Spot","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11349,"name":"Discover","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
118
122
  Express","primary":false},{"id":11271,"name":"Happy Hour","primary":false}],"public_id":"rain-modern-infusion-cuisine-seattle"},{"id":38584648,"featured":false,"name":"Blue
119
123
  C Sushi","address":{"street":"3411 Fremont Ave N","city":"Seattle","state":"WA","postal_code":"98103"},"neighborhood":"Lake
120
- Union, Fremont","latitude":47.6498,"longitude":-122.35,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/08/f4/38584648p1.jpg","phone_number":"4257743719","fax_number":null,"rating":7.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/38584648/seattle_wa/blue_c_sushi.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":52,"sample_categories":"Restaurants,
121
- MasterCard, Dine At The Bar, Local Favorite, Sushi","impression_id":"000b000000d5cbedca95144b208ccdae9b6c1b9558","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11258,"name":"Dine
124
+ Union, Fremont","latitude":47.6498,"longitude":-122.35,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/08/f4/V-SEAWA-55046863_ID59470_guide_inclusion.jpg","phone_number":"4257743719","fax_number":null,"rating":7.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/38584648/seattle_wa/blue_c_sushi.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":52,"sample_categories":"Restaurants,
125
+ MasterCard, Dine At The Bar, Local Favorite, Sushi","impression_id":"000b00000044763db60cc14578b5d9158780665d10","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11258,"name":"Dine
122
126
  At The Bar","primary":false},{"id":11284,"name":"Local Favorite","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11256,"name":"Date
123
127
  Spot","primary":false},{"id":11231,"name":"$","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11286,"name":"Lunch
124
128
  Spot","primary":false}],"public_id":"blue-c-sushi-seattle-4"},{"id":10800218,"featured":false,"name":"Toyota
125
129
  Tsusho America Inc","address":{"street":"12543 Lake City Way NE","city":"Seattle","state":"WA","postal_code":"98125"},"neighborhood":"North,
126
130
  Olympic Hills, North Seattle","latitude":47.7202,"longitude":-122.295,"distance":null,"image":null,"phone_number":"2063677972","fax_number":null,"rating":7.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10800218/seattle_wa/toyota_tsusho_america_inc.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":48,"sample_categories":"Investments,
127
- Restaurants, MasterCard, Local Favorite, Sushi","impression_id":"000b0000009f843a8704cc49ed9c511e8bf0098825","expansion":{"count":null,"uri":null},"tags":[{"id":1636,"name":"Investments","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
131
+ Restaurants, MasterCard, Local Favorite, Sushi","impression_id":"000b000000a3e457ed3eae4e34a4c38a66708cbc87","expansion":{"count":null,"uri":null},"tags":[{"id":1636,"name":"Investments","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
128
132
  Favorite","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11231,"name":"$","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11341,"name":"Check","primary":false},{"id":11286,"name":"Lunch
129
133
  Spot","primary":false}],"public_id":"toyota-tsusho-america-inc-seattle"},{"id":11621610,"featured":false,"name":"Chiso
130
134
  Restaurant","address":{"street":"3520 Fremont Ave N","city":"Seattle","state":"WA","postal_code":"98103"},"neighborhood":"Lake
131
135
  Union, Fremont","latitude":47.650618,"longitude":-122.349884,"distance":null,"image":null,"phone_number":"2066323430","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/11621610/seattle_wa/chiso_restaurant.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":35,"sample_categories":"Restaurants,
132
- MasterCard, Cash, Sushi, Japanese","impression_id":"000b00000002db3c56a088437ab8b8f85bee496e2f","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
136
+ MasterCard, Cash, Sushi, Japanese","impression_id":"000b00000043ca2012701e42d1abc468c25cf1089f","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
133
137
  Express","primary":false},{"id":11347,"name":"Debit Card","primary":false},{"id":11271,"name":"Happy
134
138
  Hour","primary":false}],"public_id":"chiso-restaurant-seattle"},{"id":10774459,"featured":false,"name":"Musashi","address":{"street":"1400
135
139
  N 45th St","city":"Seattle","state":"WA","postal_code":"98103"},"neighborhood":"Lake
136
140
  Union, Wallingford","latitude":47.6615,"longitude":-122.3404,"distance":null,"image":null,"phone_number":"2066330212","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10774459/seattle_wa/musashi.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":40,"sample_categories":"Restaurants,
137
- Cheap Eats, Local Favorite, Sushi, Cash","impression_id":"000b000000d4888ec9c3624dc794c7245408d73c50","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11249,"name":"Cheap
141
+ Cheap Eats, Local Favorite, Sushi, Cash","impression_id":"000b000000acd6a9a5949f4ffcbccfe5f05557b0a9","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11249,"name":"Cheap
138
142
  Eats","primary":false},{"id":11284,"name":"Local Favorite","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11231,"name":"$","primary":false},{"id":11341,"name":"Check","primary":false}],"public_id":"musashi-seattle"},{"id":41873269,"featured":false,"name":"Red
139
143
  Fin Japanese Restaurant & Sushi Bar","address":{"street":"612 Stewart St","city":"Seattle","state":"WA","postal_code":"98101"},"neighborhood":"Belltown,
140
- Downtown","latitude":47.6137,"longitude":-122.336906,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/b9/cc/41873269p1.jpg","phone_number":"2064414340","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41873269/seattle_wa/red_fin_japanese_restaurant_sushi_bar.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":32,"sample_categories":"Restaurants,
141
- Dine At The Bar, Bar Scene, Hotel Restaurants, Asian","impression_id":"000b00000094a93ee86f3a435585567e0ac42e5442","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
144
+ Downtown","latitude":47.6137,"longitude":-122.336906,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/b9/cc/V-SEAWA-55093582_ID174149_guide_inclusion.jpg","phone_number":"2064414340","fax_number":null,"rating":9.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41873269/seattle_wa/red_fin_japanese_restaurant_sushi_bar.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":32,"sample_categories":"Restaurants,
145
+ Dine At The Bar, Bar Scene, Hotel Restaurants, Asian","impression_id":"000b0000001387d3ff5ebd431993f81031d09eefe4","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
142
146
  At The Bar","primary":false},{"id":11238,"name":"Bar Scene","primary":false},{"id":11275,"name":"Hotel
143
147
  Restaurants","primary":false},{"id":11235,"name":"Asian","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11233,"name":"$$$","primary":false},{"id":11244,"name":"Business
144
148
  Dining","primary":false},{"id":11243,"name":"Business Breakfast","primary":false},{"id":11367,"name":"Open
@@ -148,16 +152,16 @@
148
152
  Express","primary":false},{"id":11271,"name":"Happy Hour","primary":false}],"public_id":"red-fin-japanese-restaurant-sushi-bar-seattle"},{"id":41419346,"featured":false,"name":"Yamashiro
149
153
  Sushi Broker","address":{"street":"13754 Aurora Ave N","city":"Seattle","state":"WA","postal_code":"98133"},"neighborhood":"Northwest
150
154
  Seattle, Northwest, Haller Lake","latitude":47.7297,"longitude":-122.3449,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/fa/44/V-SEAWA-55051003_ID73619_guide_inclusion.jpg","phone_number":"2063612620","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41419346/seattle_wa/yamashiro_sushi_broker.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":36,"sample_categories":"Restaurants,
151
- MasterCard, Asian, Cash, Late Night Dining","impression_id":"000b0000008ccef781d1e74d538288ae2834c33a0b","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11235,"name":"Asian","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11282,"name":"Late
155
+ MasterCard, Asian, Cash, Late Night Dining","impression_id":"000b00000082ead48698d047eca47cdbb970ba2585","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11235,"name":"Asian","primary":false},{"id":11339,"name":"Cash","primary":false},{"id":11282,"name":"Late
152
156
  Night Dining","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11269,"name":"Group
153
157
  Dining","primary":false},{"id":11231,"name":"$","primary":false},{"id":11382,"name":"Visa","primary":false}],"public_id":"yamashiro-sushi-broker-seattle"},{"id":10772953,"featured":false,"name":"Hana
154
158
  Restaurant","address":{"street":"219 Broadway E","city":"Seattle","state":"WA","postal_code":"98102"},"neighborhood":"Broadway,
155
159
  Capitol Hill","latitude":47.6202,"longitude":-122.3211,"distance":null,"image":null,"phone_number":"2063281187","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10772953/seattle_wa/hana_restaurant.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":35,"sample_categories":"Restaurants,
156
- MasterCard, Local Favorite, Sushi, Japanese","impression_id":"000b0000005fa610765a594d3eaa6455a1e4dc9819","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
160
+ MasterCard, Local Favorite, Sushi, Japanese","impression_id":"000b000000bc7d477d67384dae8c389cd85d81c042","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11284,"name":"Local
157
161
  Favorite","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11232,"name":"$$","primary":false},{"id":11382,"name":"Visa","primary":false}],"public_id":"hana-restaurant-seattle"},{"id":10766503,"featured":false,"name":"Benihana","address":{"street":"1200
158
162
  5th Ave","city":"Seattle","state":"WA","postal_code":"98101"},"neighborhood":"Downtown,
159
163
  Central Business District","latitude":47.6081,"longitude":-122.3331,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/f6/8b/V-SEAWA-00041473_ID94551_guide_inclusion.jpg","phone_number":"2066824686","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/10766503/seattle_wa/benihana.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":34,"sample_categories":"Restaurants,
160
- Sushi, Japanese, Travelers Check, Chicken","impression_id":"000b0000007caa1a3e7c6e484698f51a5bac97008e","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11379,"name":"Travelers
164
+ Sushi, Japanese, Travelers Check, Chicken","impression_id":"000b0000003991cd2a997b429faae36f5fa209614b","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false},{"id":11201,"name":"Sushi","primary":false},{"id":11202,"name":"Japanese","primary":false},{"id":11379,"name":"Travelers
161
165
  Check","primary":false},{"id":12839,"name":"Chicken","primary":false},{"id":12645,"name":"Romantic","primary":false},{"id":11228,"name":"Seafood","primary":false},{"id":10977,"name":"Japanese
162
166
  Lessons","primary":false},{"id":11348,"name":"Diners Club","primary":false},{"id":10038,"name":"Private
163
167
  Parties","primary":false},{"id":11238,"name":"Bar Scene","primary":false},{"id":11235,"name":"Asian","primary":false},{"id":11247,"name":"Carry
@@ -15,7 +15,7 @@
15
15
  message: OK
16
16
  headers:
17
17
  date:
18
- - Fri, 30 Dec 2011 01:06:19 GMT
18
+ - Sat, 31 Dec 2011 01:13:29 GMT
19
19
  server:
20
20
  - Apache-Coyote/1.1
21
21
  content-type:
@@ -27,8 +27,8 @@
27
27
  body: ! '{"results":{"query_id":null,"uri":"http://api.citygridmedia.com/search/places/v2/search/where?has_offers=false&format=json&page=1&rpp=20&histograms=false&what=el+gaucho&where=seattle%2C+wa&publisher=citygrid&region_type=circle","first_hit":1,"last_hit":8,"total_hits":8,"page":1,"rpp":20,"did_you_mean":null,"regions":[{"type":"city","name":"Seattle,
28
28
  WA","latitude":47.620434,"longitude":-122.35101,"default_radius":11.9400}],"histograms":[],"locations":[{"id":41280457,"featured":false,"name":"El
29
29
  Gaucho","address":{"street":"2505 1st Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Downtown,
30
- Belltown","latitude":47.6147,"longitude":-122.349,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/advertorial_profile/6e/18/V-SEAWA-55044086_ID51753_guide_inclusion.jpg","phone_number":"2067281337","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41280457/seattle_wa/el_gaucho.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":125,"sample_categories":"Bars
31
- & Clubs, Restaurants, Dine At The Bar, Bar Scene, Celeb Hangout","impression_id":"000b0000002bdc16a6e57242939ac5879704d8ba56","expansion":{"count":null,"uri":null},"tags":[{"id":164,"name":"Bars
30
+ Belltown","latitude":47.6147,"longitude":-122.349,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/6e/18/10796513p1.jpg","phone_number":"2067281337","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41280457/seattle_wa/el_gaucho.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":125,"sample_categories":"Bars
31
+ & Clubs, Restaurants, Dine At The Bar, Bar Scene, Celeb Hangout","impression_id":"000b000000350f315532a948c59963fb82d1302d06","expansion":{"count":null,"uri":null},"tags":[{"id":164,"name":"Bars
32
32
  & Clubs","primary":false},{"id":1722,"name":"Restaurants","primary":false},{"id":11258,"name":"Dine
33
33
  At The Bar","primary":false},{"id":11238,"name":"Bar Scene","primary":false},{"id":11248,"name":"Celeb
34
34
  Hangout","primary":false},{"id":11265,"name":"Fine Dining","primary":false},{"id":11234,"name":"$$$$","primary":false},{"id":11244,"name":"Business
@@ -41,27 +41,27 @@
41
41
  Certificate","primary":false},{"id":11316,"name":"Steakhouse","primary":false}],"public_id":"el-gaucho-seattle-2"},{"id":45403893,"featured":false,"name":"El
42
42
  Gaucho","address":{"street":"10 Harrison St","city":"Seattle","state":"WA","postal_code":"98109"},"neighborhood":"Magnolia
43
43
  - Queen Anne, Magnolia / Queen Anne, Lower Queen Anne","latitude":47.6222,"longitude":-122.3565,"distance":null,"image":null,"phone_number":"2063521539","fax_number":null,"rating":null,"tagline":null,"profile":"http://seattle.citysearch.com/profile/45403893/seattle_wa/el_gaucho.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":0,"sample_categories":"Unclassified,
44
- Hydroponics","impression_id":"000b000000abc8c99b665d42a7b56c66030c97dafd","expansion":{"count":null,"uri":null},"tags":[{"id":6019,"name":"Unclassified","primary":false},{"id":22,"name":"Hydroponics","primary":false}],"public_id":"el-gaucho-seattle"},{"id":601947329,"featured":false,"name":"Inn
44
+ Hydroponics","impression_id":"000b000000a975136ed4e347abbba3695130570854","expansion":{"count":null,"uri":null},"tags":[{"id":6019,"name":"Unclassified","primary":false},{"id":22,"name":"Hydroponics","primary":false}],"public_id":"el-gaucho-seattle"},{"id":601947329,"featured":false,"name":"Inn
45
45
  At El Gaucho","address":{"street":"2507 1st Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Downtown,
46
46
  Belltown","latitude":47.614799,"longitude":-122.34893,"distance":null,"image":null,"phone_number":"2062670500","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/601947329/seattle_wa/inn_at_el_gaucho.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":1,"sample_categories":"Hotels
47
- & Motels","impression_id":"000b000000e37515a24dbc4a2db84a6590d2f936f6","expansion":{"count":null,"uri":null},"tags":[{"id":4295,"name":"Hotels
47
+ & Motels","impression_id":"000b0000009245b9ab6abe4b9c90acd379ab2672f9","expansion":{"count":null,"uri":null},"tags":[{"id":4295,"name":"Hotels
48
48
  & Motels","primary":false}],"public_id":"inn-at-el-gaucho-seattle"},{"id":44963930,"featured":false,"name":"Inn
49
49
  At El Gaucho","address":{"street":"2505 1st Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Belltown,
50
50
  Downtown","latitude":47.6147,"longitude":-122.349,"distance":null,"image":null,"phone_number":"2067281133","fax_number":null,"rating":8.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/44963930/seattle_wa/inn_at_el_gaucho.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":0,"sample_categories":"Hotels
51
- & Motels, MasterCard, Visa","impression_id":"000b000000f88829cbc9764390a8c86d5b01befaac","expansion":{"count":null,"uri":null},"tags":[{"id":4295,"name":"Hotels
51
+ & Motels, MasterCard, Visa","impression_id":"000b000000f3d6072e95b94a4180b4cea596c78010","expansion":{"count":null,"uri":null},"tags":[{"id":4295,"name":"Hotels
52
52
  & Motels","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":11382,"name":"Visa","primary":false}],"public_id":"inn-at-el-gaucho-seattle-3"},{"id":41791006,"featured":false,"name":"Inn
53
53
  at El Gaucho","address":{"street":"2505 First Avenue","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Belltown,
54
54
  Downtown","latitude":47.6147,"longitude":-122.349,"distance":null,"image":"http://images.citysearch.net/assets/imgdb/profile/9c/60/41791006p1.jpg","phone_number":"2062370758","fax_number":null,"rating":6.0,"tagline":null,"profile":"http://seattle.citysearch.com/profile/41791006/seattle_wa/inn_at_el_gaucho.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":14,"sample_categories":"Tourist
55
- Hotels, Lodging, Business Hotels, Hotels & Motels, Boutique Hotels","impression_id":"000b000000b084ea553f1c4b2d822b6f2e5264951e","expansion":{"count":null,"uri":null},"tags":[{"id":4303,"name":"Tourist
55
+ Hotels, Lodging, Business Hotels, Hotels & Motels, Boutique Hotels","impression_id":"000b000000f1d30adeffe54a3da57aa5c26706b3b5","expansion":{"count":null,"uri":null},"tags":[{"id":4303,"name":"Tourist
56
56
  Hotels","primary":false},{"id":4287,"name":"Lodging","primary":false},{"id":4300,"name":"Business
57
57
  Hotels","primary":false},{"id":4295,"name":"Hotels & Motels","primary":false},{"id":4298,"name":"Boutique
58
58
  Hotels","primary":false},{"id":11361,"name":"MasterCard","primary":false},{"id":12636,"name":"Hotel
59
59
  Dining","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":11333,"name":"American
60
60
  Express","primary":false},{"id":12645,"name":"Romantic","primary":false}],"public_id":"inn-at-el-gaucho-seattle-2"},{"id":681408060,"featured":false,"name":"El
61
61
  Gaucho Belltown","address":{"street":"2505 1st Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Belltown,
62
- Downtown","latitude":47.614747,"longitude":-122.348845,"distance":null,"image":null,"phone_number":"2067281337","fax_number":null,"rating":null,"tagline":null,"profile":"http://seattle.citysearch.com/profile/681408060/seattle_wa/el_gaucho_belltown.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":11,"sample_categories":"Unclassified","impression_id":"000b0000003fd21907d77143d5a4fd69b1c639697f","expansion":{"count":null,"uri":null},"tags":[{"id":6019,"name":"Unclassified","primary":false}],"public_id":"el-gaucho-belltown-seattle"},{"id":711406320,"featured":false,"name":"El
62
+ Downtown","latitude":47.614747,"longitude":-122.348845,"distance":null,"image":null,"phone_number":"2067281337","fax_number":null,"rating":null,"tagline":null,"profile":"http://seattle.citysearch.com/profile/681408060/seattle_wa/el_gaucho_belltown.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":11,"sample_categories":"Unclassified","impression_id":"000b000000cee4cb78b8cd4dd48ac6efee447e22ca","expansion":{"count":null,"uri":null},"tags":[{"id":6019,"name":"Unclassified","primary":false}],"public_id":"el-gaucho-belltown-seattle"},{"id":711406320,"featured":false,"name":"El
63
63
  Gaucho Seattle","address":{"street":"2505 1st Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Downtown,
64
- Belltown","latitude":47.614747,"longitude":-122.348845,"distance":null,"image":null,"phone_number":"2067281337","fax_number":null,"rating":null,"tagline":null,"profile":"http://seattle.citysearch.com/profile/711406320/seattle_wa/el_gaucho_seattle.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":11,"sample_categories":"Unclassified","impression_id":"000b0000000ec643a265454f21b069d92687191d50","expansion":{"count":null,"uri":null},"tags":[{"id":6019,"name":"Unclassified","primary":false}],"public_id":"el-gaucho-seattle-seattle"},{"id":659438890,"featured":false,"name":"EL
64
+ Belltown","latitude":47.614747,"longitude":-122.348845,"distance":null,"image":null,"phone_number":"2067281337","fax_number":null,"rating":null,"tagline":null,"profile":"http://seattle.citysearch.com/profile/711406320/seattle_wa/el_gaucho_seattle.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":11,"sample_categories":"Unclassified","impression_id":"000b00000020b41f1fc353405eac7c3cedcf8a989d","expansion":{"count":null,"uri":null},"tags":[{"id":6019,"name":"Unclassified","primary":false}],"public_id":"el-gaucho-seattle-seattle"},{"id":659438890,"featured":false,"name":"EL
65
65
  GAUCHO PRIVATE DINING","address":{"street":"2505 1st Ave","city":"Seattle","state":"WA","postal_code":"98121"},"neighborhood":"Belltown,
66
- Downtown","latitude":47.614749,"longitude":-122.348847,"distance":null,"image":null,"phone_number":"2067281337","fax_number":null,"rating":null,"tagline":null,"profile":"http://seattle.citysearch.com/profile/659438890/seattle_wa/el_gaucho_private_dining.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":0,"sample_categories":"Restaurants","impression_id":"000b000000571dbeaf4ffb4ab8b541c7952626aaaf","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false}],"public_id":"el-gaucho-private-dining-seattle"}]}}'
66
+ Downtown","latitude":47.614749,"longitude":-122.348847,"distance":null,"image":null,"phone_number":"2067281337","fax_number":null,"rating":null,"tagline":null,"profile":"http://seattle.citysearch.com/profile/659438890/seattle_wa/el_gaucho_private_dining.html","website":null,"has_video":false,"has_offers":false,"offers":null,"user_review_count":0,"sample_categories":"Restaurants","impression_id":"000b000000fede3d2bb8e94e299f93f93153935a12","expansion":{"count":null,"uri":null},"tags":[{"id":1722,"name":"Restaurants","primary":false}],"public_id":"el-gaucho-private-dining-seattle"}]}}'
67
67
  http_version: '1.1'
@@ -0,0 +1,24 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://sandbox-api.citygrid.com:443/accounts/user/v2/login?password=pppppp&username=GARYTEST
6
+ body: !!null
7
+ headers: !!null
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ date:
14
+ - Sat, 31 Dec 2011 01:12:24 GMT
15
+ server:
16
+ - Apache-Coyote/1.1
17
+ content-type:
18
+ - application/json
19
+ vary:
20
+ - Accept-Encoding
21
+ transfer-encoding:
22
+ - chunked
23
+ body: ! '{"code":201,"authToken":"ec6f90ac7173b4577685a58907c1b90f"}'
24
+ http_version: '1.1'
@@ -0,0 +1,24 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://sandbox-api.citygrid.com:443/accounts/user/v2/login?password=pppppp&username=GARYTEST
6
+ body: !!null
7
+ headers: !!null
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ date:
14
+ - Sat, 31 Dec 2011 01:12:24 GMT
15
+ server:
16
+ - Apache-Coyote/1.1
17
+ content-type:
18
+ - application/json
19
+ vary:
20
+ - Accept-Encoding
21
+ transfer-encoding:
22
+ - chunked
23
+ body: ! '{"code":201,"authToken":"6b023eedb012adb81b60069b3c39715a"}'
24
+ http_version: '1.1'
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Accounts
4
4
  class Account < Accounts
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
 
8
8
  # Adds new customer account to existing user
9
9
  # http://docs.prod.cs/display/citygridv2/Internal+-+Account#Internal-Account-AddNewCustomerAccounttoExistingUser
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Accounts
4
4
  class MethodOfPayment < Accounts
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
  end
8
8
  end
9
9
  end
@@ -2,16 +2,20 @@ class CityGrid
2
2
  class API
3
3
  class Accounts
4
4
  class User < Accounts
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
 
8
8
  def self.login options = {}
9
9
  request_and_handle :post,
10
10
  "#{endpoint}/login",
11
- :query => options
11
+ :query => options,
12
+ :headers => merge_headers()
12
13
  end
13
14
 
14
- define_action :validate, :get, "validate", :auth_token => true
15
+ # login behaves weird right now - expects string as body, not json encoded.
16
+ # define_action :login, :post, "login", :auth_token => false, :format => false
17
+
18
+ define_action :validate, :get, "validate", :auth_token => true, :format => false
15
19
  end
16
20
  end
17
21
  end
@@ -2,7 +2,7 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class AccountManager < Accounts
5
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Searchable
6
6
  end
7
7
  end
8
8
  end
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class AdGroup < Advertising
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
  end
8
8
  end
9
9
  end
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class AdGroupAd < Advertising
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
  end
8
8
  end
9
9
  end
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class AdGroupCriterion < Advertising
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
  end
8
8
  end
9
9
  end
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class AdGroupGeo < Advertising
5
- extend Mutatable
6
- extend Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
  end
8
8
  end
9
9
  end
@@ -2,7 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class Billing < Advertising
5
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
6
7
  end
7
8
  end
8
9
  end
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class Budget < Advertising
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
  end
8
8
  end
9
9
  end
@@ -1,8 +1,8 @@
1
1
  class CityGrid
2
2
  class API
3
3
  class Advertising
4
- class CallDetail < Advertising
5
- define_action :campaign, :post, "campaign", :auth_token => true, :format => false
4
+ class CallDetail < Advertising
5
+ define_action :search, :post, "get", :auth_token => true, :format => false
6
6
  define_action :note, :post, "note", :auth_token => true, :format => false
7
7
  end
8
8
  end
@@ -2,8 +2,8 @@ class CityGrid
2
2
  class API
3
3
  class Advertising
4
4
  class Campaign < Advertising
5
- extend CityGrid::API::Mutatable
6
- extend CityGrid::API::Searchable
5
+ include CityGrid::API::Mutable
6
+ include CityGrid::API::Searchable
7
7
  end
8
8
  end
9
9
  end