feedlr 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +3 -0
- data/.travis.yml +22 -0
- data/.yardopts +5 -0
- data/Gemfile +32 -0
- data/Guardfile +7 -0
- data/LICENSE.md +16 -0
- data/README.md +85 -0
- data/Rakefile +10 -0
- data/feedlr.gemspec +27 -0
- data/lib/feedlr.rb +34 -0
- data/lib/feedlr/base.rb +4 -0
- data/lib/feedlr/client.rb +60 -0
- data/lib/feedlr/collection.rb +15 -0
- data/lib/feedlr/error.rb +79 -0
- data/lib/feedlr/gateway/categories.rb +36 -0
- data/lib/feedlr/gateway/entries.rb +40 -0
- data/lib/feedlr/gateway/evernote.rb +37 -0
- data/lib/feedlr/gateway/facebook.rb +28 -0
- data/lib/feedlr/gateway/feeds.rb +26 -0
- data/lib/feedlr/gateway/markers.rb +195 -0
- data/lib/feedlr/gateway/microsoft.rb +30 -0
- data/lib/feedlr/gateway/mixes.rb +29 -0
- data/lib/feedlr/gateway/opml.rb +26 -0
- data/lib/feedlr/gateway/preferences.rb +25 -0
- data/lib/feedlr/gateway/profile.rb +25 -0
- data/lib/feedlr/gateway/search.rb +41 -0
- data/lib/feedlr/gateway/shorten.rb +17 -0
- data/lib/feedlr/gateway/streams.rb +42 -0
- data/lib/feedlr/gateway/subscriptions.rb +43 -0
- data/lib/feedlr/gateway/tags.rb +88 -0
- data/lib/feedlr/gateway/topics.rb +43 -0
- data/lib/feedlr/gateway/twitter.rb +29 -0
- data/lib/feedlr/mapper.rb +25 -0
- data/lib/feedlr/rate_limit.rb +21 -0
- data/lib/feedlr/request.rb +148 -0
- data/lib/feedlr/success.rb +5 -0
- data/lib/feedlr/version.rb +15 -0
- data/spec/cassettes/Feedlr_Gateway_Categories/_change_category_label/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Categories/_delete_category/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Categories/_user_categories/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Entries/_add_entry/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Entries/_user_entries/resoponds_with_hashie_object.yml +337 -0
- data/spec/cassettes/Feedlr_Gateway_Evernote/_add_to_evernote/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Evernote/_evernote_notebooks/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Evernote/_unlink_evernote/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Facebook/_facebook_suggestions/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Facebook/_unlink_facebook/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Feeds/_feeds/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_lastest_tagged_entries/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_read/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_unread/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_categories_as_read/with_asOf_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_categories_as_read/with_lastReadEntryId_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_feeds_as_read/with_asOf_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_feeds_as_read/with_lastReadEntryId_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_sync_read_counts/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_undo_mark_categories_as_read/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_undo_mark_feeds_as_read/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_user_unread_counts/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Microsoft/_add_to_onenote/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Microsoft/_unlink_microsoft/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Mixes/_stream_most_engaging/resoponds_with_hashie_object.yml +102 -0
- data/spec/cassettes/Feedlr_Gateway_Opml/_import_opml/resoponds_with_hashie_object.yml +63 -0
- data/spec/cassettes/Feedlr_Gateway_Opml/_user_opml/resoponds_with_hashie_object.yml +80 -0
- data/spec/cassettes/Feedlr_Gateway_Preferences/_preferences/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Preferences/_update_preferences/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Profile/_get_profile/resoponds_with_hashie_object.yml +54 -0
- data/spec/cassettes/Feedlr_Gateway_Profile/_profile/resoponds_with_hashie_object.yml +54 -0
- data/spec/cassettes/Feedlr_Gateway_Profile/_update_profile/resoponds_with_hashie_object.yml +54 -0
- data/spec/cassettes/Feedlr_Gateway_Search/_search_feeds/resoponds_with_hashie_object.yml +303 -0
- data/spec/cassettes/Feedlr_Gateway_Search/_search_stream/resoponds_with_hashie_object.yml +1941 -0
- data/spec/cassettes/Feedlr_Gateway_Shorten/_shorten/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Streams/_stream_entries_contents/resoponds_with_hashie_object.yml +1150 -0
- data/spec/cassettes/Feedlr_Gateway_Streams/_stream_entries_ids/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_add_subscription/resoponds_with_hashie_object.yml +53 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_create_subscription/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_delete_subscription/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_update_subscription/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_user_subscriptions/resoponds_with_hashie_object.yml +57 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_change_tag_label/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_delete_tags/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_get_tags/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_tag_entries/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_untag_entries/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_user_tags/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_add_topic/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_delete_topic/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_update_topic/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_user_topics/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Twitter/_twitter_suggestions/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Twitter/_unlink_twitter/resoponds_with_hashie_object.yml +50 -0
- data/spec/feedly/base_spec.rb +10 -0
- data/spec/feedly/client_spec.rb +49 -0
- data/spec/feedly/collection_spec.rb +21 -0
- data/spec/feedly/error_spec.rb +59 -0
- data/spec/feedly/feedly_spec.rb +54 -0
- data/spec/feedly/gateway/categories_spec.rb +59 -0
- data/spec/feedly/gateway/entries_spec.rb +67 -0
- data/spec/feedly/gateway/evernote_spec.rb +60 -0
- data/spec/feedly/gateway/facebook_spec.rb +36 -0
- data/spec/feedly/gateway/feeds_spec.rb +36 -0
- data/spec/feedly/gateway/markers_spec.rb +295 -0
- data/spec/feedly/gateway/microsoft_spec.rb +40 -0
- data/spec/feedly/gateway/mixes_spec.rb +27 -0
- data/spec/feedly/gateway/opml_spec.rb +57 -0
- data/spec/feedly/gateway/preferences_spec.rb +41 -0
- data/spec/feedly/gateway/profile_spec.rb +40 -0
- data/spec/feedly/gateway/search_spec.rb +43 -0
- data/spec/feedly/gateway/shorten_spec.rb +27 -0
- data/spec/feedly/gateway/streams_spec.rb +44 -0
- data/spec/feedly/gateway/subscriptions_spec.rb +87 -0
- data/spec/feedly/gateway/tags_spec.rb +129 -0
- data/spec/feedly/gateway/topics_spec.rb +77 -0
- data/spec/feedly/gateway/twitter_spec.rb +37 -0
- data/spec/feedly/mapper_spec.rb +25 -0
- data/spec/feedly/rate_limit_spec.rb +41 -0
- data/spec/feedly/request_spec.rb +74 -0
- data/spec/feedly/success_spec.rb +7 -0
- data/spec/feedly/version_spec.rb +9 -0
- data/spec/helper.rb +52 -0
- 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
|
data/spec/cassettes/Feedlr_Gateway_Twitter/_twitter_suggestions/resoponds_with_hashie_object.yml
ADDED
@@ -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
|