feedlr 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +22 -0
  5. data/.yardopts +5 -0
  6. data/Gemfile +32 -0
  7. data/Guardfile +7 -0
  8. data/LICENSE.md +16 -0
  9. data/README.md +85 -0
  10. data/Rakefile +10 -0
  11. data/feedlr.gemspec +27 -0
  12. data/lib/feedlr.rb +34 -0
  13. data/lib/feedlr/base.rb +4 -0
  14. data/lib/feedlr/client.rb +60 -0
  15. data/lib/feedlr/collection.rb +15 -0
  16. data/lib/feedlr/error.rb +79 -0
  17. data/lib/feedlr/gateway/categories.rb +36 -0
  18. data/lib/feedlr/gateway/entries.rb +40 -0
  19. data/lib/feedlr/gateway/evernote.rb +37 -0
  20. data/lib/feedlr/gateway/facebook.rb +28 -0
  21. data/lib/feedlr/gateway/feeds.rb +26 -0
  22. data/lib/feedlr/gateway/markers.rb +195 -0
  23. data/lib/feedlr/gateway/microsoft.rb +30 -0
  24. data/lib/feedlr/gateway/mixes.rb +29 -0
  25. data/lib/feedlr/gateway/opml.rb +26 -0
  26. data/lib/feedlr/gateway/preferences.rb +25 -0
  27. data/lib/feedlr/gateway/profile.rb +25 -0
  28. data/lib/feedlr/gateway/search.rb +41 -0
  29. data/lib/feedlr/gateway/shorten.rb +17 -0
  30. data/lib/feedlr/gateway/streams.rb +42 -0
  31. data/lib/feedlr/gateway/subscriptions.rb +43 -0
  32. data/lib/feedlr/gateway/tags.rb +88 -0
  33. data/lib/feedlr/gateway/topics.rb +43 -0
  34. data/lib/feedlr/gateway/twitter.rb +29 -0
  35. data/lib/feedlr/mapper.rb +25 -0
  36. data/lib/feedlr/rate_limit.rb +21 -0
  37. data/lib/feedlr/request.rb +148 -0
  38. data/lib/feedlr/success.rb +5 -0
  39. data/lib/feedlr/version.rb +15 -0
  40. data/spec/cassettes/Feedlr_Gateway_Categories/_change_category_label/resoponds_with_hashie_object.yml +50 -0
  41. data/spec/cassettes/Feedlr_Gateway_Categories/_delete_category/resoponds_with_hashie_object.yml +50 -0
  42. data/spec/cassettes/Feedlr_Gateway_Categories/_user_categories/resoponds_with_hashie_object.yml +52 -0
  43. data/spec/cassettes/Feedlr_Gateway_Entries/_add_entry/resoponds_with_hashie_object.yml +52 -0
  44. data/spec/cassettes/Feedlr_Gateway_Entries/_user_entries/resoponds_with_hashie_object.yml +337 -0
  45. data/spec/cassettes/Feedlr_Gateway_Evernote/_add_to_evernote/resoponds_with_hashie_object.yml +50 -0
  46. data/spec/cassettes/Feedlr_Gateway_Evernote/_evernote_notebooks/resoponds_with_hashie_object.yml +51 -0
  47. data/spec/cassettes/Feedlr_Gateway_Evernote/_unlink_evernote/resoponds_with_hashie_object.yml +50 -0
  48. data/spec/cassettes/Feedlr_Gateway_Facebook/_facebook_suggestions/resoponds_with_hashie_object.yml +52 -0
  49. data/spec/cassettes/Feedlr_Gateway_Facebook/_unlink_facebook/resoponds_with_hashie_object.yml +50 -0
  50. data/spec/cassettes/Feedlr_Gateway_Feeds/_feeds/resoponds_with_hashie_object.yml +51 -0
  51. data/spec/cassettes/Feedlr_Gateway_Markers/_lastest_tagged_entries/resoponds_with_hashie_object.yml +52 -0
  52. data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_read/resoponds_with_hashie_object.yml +50 -0
  53. data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_unread/resoponds_with_hashie_object.yml +50 -0
  54. data/spec/cassettes/Feedlr_Gateway_Markers/_mark_categories_as_read/with_asOf_param/resoponds_with_hashie_object.yml +50 -0
  55. data/spec/cassettes/Feedlr_Gateway_Markers/_mark_categories_as_read/with_lastReadEntryId_param/resoponds_with_hashie_object.yml +50 -0
  56. data/spec/cassettes/Feedlr_Gateway_Markers/_mark_feeds_as_read/with_asOf_param/resoponds_with_hashie_object.yml +50 -0
  57. data/spec/cassettes/Feedlr_Gateway_Markers/_mark_feeds_as_read/with_lastReadEntryId_param/resoponds_with_hashie_object.yml +50 -0
  58. data/spec/cassettes/Feedlr_Gateway_Markers/_sync_read_counts/resoponds_with_hashie_object.yml +52 -0
  59. data/spec/cassettes/Feedlr_Gateway_Markers/_undo_mark_categories_as_read/resoponds_with_hashie_object.yml +50 -0
  60. data/spec/cassettes/Feedlr_Gateway_Markers/_undo_mark_feeds_as_read/resoponds_with_hashie_object.yml +50 -0
  61. data/spec/cassettes/Feedlr_Gateway_Markers/_user_unread_counts/resoponds_with_hashie_object.yml +52 -0
  62. data/spec/cassettes/Feedlr_Gateway_Microsoft/_add_to_onenote/resoponds_with_hashie_object.yml +52 -0
  63. data/spec/cassettes/Feedlr_Gateway_Microsoft/_unlink_microsoft/resoponds_with_hashie_object.yml +50 -0
  64. data/spec/cassettes/Feedlr_Gateway_Mixes/_stream_most_engaging/resoponds_with_hashie_object.yml +102 -0
  65. data/spec/cassettes/Feedlr_Gateway_Opml/_import_opml/resoponds_with_hashie_object.yml +63 -0
  66. data/spec/cassettes/Feedlr_Gateway_Opml/_user_opml/resoponds_with_hashie_object.yml +80 -0
  67. data/spec/cassettes/Feedlr_Gateway_Preferences/_preferences/resoponds_with_hashie_object.yml +52 -0
  68. data/spec/cassettes/Feedlr_Gateway_Preferences/_update_preferences/resoponds_with_hashie_object.yml +50 -0
  69. data/spec/cassettes/Feedlr_Gateway_Profile/_get_profile/resoponds_with_hashie_object.yml +54 -0
  70. data/spec/cassettes/Feedlr_Gateway_Profile/_profile/resoponds_with_hashie_object.yml +54 -0
  71. data/spec/cassettes/Feedlr_Gateway_Profile/_update_profile/resoponds_with_hashie_object.yml +54 -0
  72. data/spec/cassettes/Feedlr_Gateway_Search/_search_feeds/resoponds_with_hashie_object.yml +303 -0
  73. data/spec/cassettes/Feedlr_Gateway_Search/_search_stream/resoponds_with_hashie_object.yml +1941 -0
  74. data/spec/cassettes/Feedlr_Gateway_Shorten/_shorten/resoponds_with_hashie_object.yml +51 -0
  75. data/spec/cassettes/Feedlr_Gateway_Streams/_stream_entries_contents/resoponds_with_hashie_object.yml +1150 -0
  76. data/spec/cassettes/Feedlr_Gateway_Streams/_stream_entries_ids/resoponds_with_hashie_object.yml +51 -0
  77. data/spec/cassettes/Feedlr_Gateway_Subscriptions/_add_subscription/resoponds_with_hashie_object.yml +53 -0
  78. data/spec/cassettes/Feedlr_Gateway_Subscriptions/_create_subscription/resoponds_with_hashie_object.yml +51 -0
  79. data/spec/cassettes/Feedlr_Gateway_Subscriptions/_delete_subscription/resoponds_with_hashie_object.yml +50 -0
  80. data/spec/cassettes/Feedlr_Gateway_Subscriptions/_update_subscription/resoponds_with_hashie_object.yml +51 -0
  81. data/spec/cassettes/Feedlr_Gateway_Subscriptions/_user_subscriptions/resoponds_with_hashie_object.yml +57 -0
  82. data/spec/cassettes/Feedlr_Gateway_Tags/_change_tag_label/resoponds_with_hashie_object.yml +50 -0
  83. data/spec/cassettes/Feedlr_Gateway_Tags/_delete_tags/resoponds_with_hashie_object.yml +50 -0
  84. data/spec/cassettes/Feedlr_Gateway_Tags/_get_tags/resoponds_with_hashie_object.yml +50 -0
  85. data/spec/cassettes/Feedlr_Gateway_Tags/_tag_entries/resoponds_with_hashie_object.yml +50 -0
  86. data/spec/cassettes/Feedlr_Gateway_Tags/_untag_entries/resoponds_with_hashie_object.yml +50 -0
  87. data/spec/cassettes/Feedlr_Gateway_Tags/_user_tags/resoponds_with_hashie_object.yml +50 -0
  88. data/spec/cassettes/Feedlr_Gateway_Topics/_add_topic/resoponds_with_hashie_object.yml +50 -0
  89. data/spec/cassettes/Feedlr_Gateway_Topics/_delete_topic/resoponds_with_hashie_object.yml +50 -0
  90. data/spec/cassettes/Feedlr_Gateway_Topics/_update_topic/resoponds_with_hashie_object.yml +50 -0
  91. data/spec/cassettes/Feedlr_Gateway_Topics/_user_topics/resoponds_with_hashie_object.yml +50 -0
  92. data/spec/cassettes/Feedlr_Gateway_Twitter/_twitter_suggestions/resoponds_with_hashie_object.yml +50 -0
  93. data/spec/cassettes/Feedlr_Gateway_Twitter/_unlink_twitter/resoponds_with_hashie_object.yml +50 -0
  94. data/spec/feedly/base_spec.rb +10 -0
  95. data/spec/feedly/client_spec.rb +49 -0
  96. data/spec/feedly/collection_spec.rb +21 -0
  97. data/spec/feedly/error_spec.rb +59 -0
  98. data/spec/feedly/feedly_spec.rb +54 -0
  99. data/spec/feedly/gateway/categories_spec.rb +59 -0
  100. data/spec/feedly/gateway/entries_spec.rb +67 -0
  101. data/spec/feedly/gateway/evernote_spec.rb +60 -0
  102. data/spec/feedly/gateway/facebook_spec.rb +36 -0
  103. data/spec/feedly/gateway/feeds_spec.rb +36 -0
  104. data/spec/feedly/gateway/markers_spec.rb +295 -0
  105. data/spec/feedly/gateway/microsoft_spec.rb +40 -0
  106. data/spec/feedly/gateway/mixes_spec.rb +27 -0
  107. data/spec/feedly/gateway/opml_spec.rb +57 -0
  108. data/spec/feedly/gateway/preferences_spec.rb +41 -0
  109. data/spec/feedly/gateway/profile_spec.rb +40 -0
  110. data/spec/feedly/gateway/search_spec.rb +43 -0
  111. data/spec/feedly/gateway/shorten_spec.rb +27 -0
  112. data/spec/feedly/gateway/streams_spec.rb +44 -0
  113. data/spec/feedly/gateway/subscriptions_spec.rb +87 -0
  114. data/spec/feedly/gateway/tags_spec.rb +129 -0
  115. data/spec/feedly/gateway/topics_spec.rb +77 -0
  116. data/spec/feedly/gateway/twitter_spec.rb +37 -0
  117. data/spec/feedly/mapper_spec.rb +25 -0
  118. data/spec/feedly/rate_limit_spec.rb +41 -0
  119. data/spec/feedly/request_spec.rb +74 -0
  120. data/spec/feedly/success_spec.rb +7 -0
  121. data/spec/feedly/version_spec.rb +9 -0
  122. data/spec/helper.rb +52 -0
  123. metadata +319 -0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: http://sandbox.feedly.com/v3/tags/user%2F96cc52b7-a17f-4ce0-9b38-de1b6f08f156%2Ftag%2FAmazon,user%2F96cc52b7-a17f-4ce0-9b38-de1b6f08f156%2Ftag%2FMobile
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"entryIds":["k3wM4lkt2uyzklIaZG/piLCFwWpRsuSz4luWQLHP0YY=_142814c6526:338b:2190d777"]}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Authorization:
15
+ - OAuth _oauth_access_token_
16
+ User-Agent:
17
+ - Faraday v0.9.0
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Sat May 17 05:38:10 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '4248'
33
+ X-Feedly-Processing-Time:
34
+ - '316'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '0'
41
+ Date:
42
+ - Sat, 17 May 2014 12:38:10 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Sat, 17 May 2014 12:39:48 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://sandbox.feedly.com/v3/tags/user%2F96cc52b7-a17f-4ce0-9b38-de1b6f08f156%2Ftag%2FAmazon,user%2F96cc52b7-a17f-4ce0-9b38-de1b6f08f156%2Ftag%2FMobile/k3wM4lkt2uyzklIaZG%2FpiLCFwWpRsuSz4luWQLHP0YY=_142814c6526:338b:2190d777
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Authorization:
15
+ - OAuth _oauth_access_token_
16
+ User-Agent:
17
+ - Faraday v0.9.0
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Sat May 17 05:38:08 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '4248'
33
+ X-Feedly-Processing-Time:
34
+ - '2'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '0'
41
+ Date:
42
+ - Sat, 17 May 2014 12:38:07 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Sat, 17 May 2014 12:39:46 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://sandbox.feedly.com/v3/tags
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Authorization:
15
+ - OAuth _oauth_access_token_
16
+ User-Agent:
17
+ - Faraday v0.9.0
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Sat May 17 15:10:39 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '5240'
33
+ X-Feedly-Processing-Time:
34
+ - '0'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '238'
41
+ Date:
42
+ - Sat, 17 May 2014 22:10:38 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: '[{"id":"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/tag/Amazon","label":"Amazon"},{"id":"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/tag/Mobile","label":"Mobile"},{"id":"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/tag/google","label":"google"}]'
48
+ http_version:
49
+ recorded_at: Sat, 17 May 2014 22:12:18 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://sandbox.feedly.com/v3/topics
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"id":"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/topic/business","interest":"high"}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Feedly Ruby Gem 0.1.0
16
+ Authorization:
17
+ - OAuth _oauth_access_token_
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Wed May 21 11:18:33 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '2159'
33
+ X-Feedly-Processing-Time:
34
+ - '339'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '0'
41
+ Date:
42
+ - Wed, 21 May 2014 18:18:34 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Wed, 21 May 2014 18:20:25 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://sandbox.feedly.com/v3/topics/user%2F96cc52b7-a17f-4ce0-9b38-de1b6f08f156%2Ftopic%2Fbusiness
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Feedly Ruby Gem 0.1.0
16
+ Authorization:
17
+ - OAuth _oauth_access_token_
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Wed May 21 11:28:04 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '2158'
33
+ X-Feedly-Processing-Time:
34
+ - '1'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '0'
41
+ Date:
42
+ - Wed, 21 May 2014 18:28:04 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Wed, 21 May 2014 18:29:55 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://sandbox.feedly.com/v3/topics
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"id":"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/topic/business","interest":"medium"}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Feedly Ruby Gem 0.1.0
16
+ Authorization:
17
+ - OAuth _oauth_access_token_
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Wed May 21 11:23:46 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '2158'
33
+ X-Feedly-Processing-Time:
34
+ - '295'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '0'
41
+ Date:
42
+ - Wed, 21 May 2014 18:23:46 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Wed, 21 May 2014 18:25:37 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://sandbox.feedly.com/v3/topics
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Feedly Ruby Gem 0.1.0
16
+ Authorization:
17
+ - OAuth _oauth_access_token_
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Wed May 21 11:25:13 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '2158'
33
+ X-Feedly-Processing-Time:
34
+ - '0'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '135'
41
+ Date:
42
+ - Wed, 21 May 2014 18:25:12 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: '[{"updated":1400696626372,"created":1400696314010,"interest":"medium","id":"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/topic/business"}]'
48
+ http_version:
49
+ recorded_at: Wed, 21 May 2014 18:27:04 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://sandbox.feedly.com/v3/twitter/suggestions
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Feedly Ruby Gem 0.1.0
16
+ Authorization:
17
+ - OAuth ArS6EFB7ImEiOiJGZWVkbHkgc2FuZGJveCBjbGllbnQiLCJlIjoxNDAxMTQ1OTEyMTg4LCJpIjoiNzNiMjBiMmEtMzRkMi00ODU5LTliNjEtMDUxYTY1M2Q5NTQ0IiwicCI6NCwidCI6MSwidiI6InNhbmRib3giLCJ4Ijoic3RhbmRhcmQifQ
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Mon May 19 16:13:07 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '3939'
33
+ X-Feedly-Processing-Time:
34
+ - '557'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '30'
41
+ Date:
42
+ - Mon, 19 May 2014 23:13:07 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"twitterScreenName":"khelll"}'
48
+ http_version:
49
+ recorded_at: Mon, 19 May 2014 23:14:53 GMT
50
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://sandbox.feedly.com/v3/twitter/auth
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Feedly Ruby Gem 0.1.0
16
+ Authorization:
17
+ - OAuth _oauth_access_token_
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Last-Modified:
26
+ - Tue May 20 20:24:52 PDT 2014
27
+ Cache-Control:
28
+ - no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
29
+ Pragma:
30
+ - no-cache
31
+ X-Ratelimit-Count:
32
+ - '1485'
33
+ X-Feedly-Processing-Time:
34
+ - '2'
35
+ X-Feedly-Server:
36
+ - sandbox-he
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ Content-Length:
40
+ - '0'
41
+ Date:
42
+ - Wed, 21 May 2014 03:24:52 GMT
43
+ Server:
44
+ - feedlyServer/1.1
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Wed, 21 May 2014 03:26:42 GMT
50
+ recorded_with: VCR 2.9.0