cloudapp 2.0.0.beta.4 → 2.0.0.beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/Gemfile.lock +12 -19
  2. data/README.md +60 -6
  3. data/Rakefile +1 -19
  4. data/bin/cloudapp +48 -0
  5. data/cloudapp.gemspec +11 -42
  6. data/lib/cloudapp/authorized.rb +14 -0
  7. data/lib/cloudapp/collection_json.rb +86 -3
  8. data/lib/cloudapp/credentials.rb +115 -0
  9. data/lib/cloudapp/service.rb +43 -146
  10. data/lib/cloudapp.rb +1 -3
  11. data/man/cloudapp.1 +100 -0
  12. data/man/cloudapp.1.html +157 -0
  13. data/man/cloudapp.1.ronn +56 -0
  14. metadata +24 -69
  15. data/CHANGELOG.md +0 -34
  16. data/lib/cloudapp/authorized_representation.rb +0 -17
  17. data/lib/cloudapp/collection_json/item.rb +0 -20
  18. data/lib/cloudapp/collection_json/representation.rb +0 -74
  19. data/lib/cloudapp/collection_json/template.rb +0 -17
  20. data/lib/cloudapp/collection_json/tint.rb +0 -11
  21. data/lib/cloudapp/drop.rb +0 -37
  22. data/lib/cloudapp/drop_collection.rb +0 -37
  23. data/spec/cassettes/account_token.yml +0 -88
  24. data/spec/cassettes/create_bookmark.yml +0 -132
  25. data/spec/cassettes/create_bookmark_with_name.yml +0 -133
  26. data/spec/cassettes/create_bookmark_with_privacy.yml +0 -133
  27. data/spec/cassettes/list_drops.yml +0 -87
  28. data/spec/cassettes/list_drops_with_bad_token.yml +0 -45
  29. data/spec/cassettes/list_drops_with_filter.yml +0 -129
  30. data/spec/cassettes/list_drops_with_limit.yml +0 -129
  31. data/spec/cassettes/purge_drops.yml +0 -466
  32. data/spec/cassettes/setup_drops.yml +0 -620
  33. data/spec/cassettes/token_for_account.yml +0 -88
  34. data/spec/cassettes/token_for_account_with_bad_credentials.yml +0 -86
  35. data/spec/cassettes/upload_file.yml +0 -276
  36. data/spec/cassettes/upload_file_with_name.yml +0 -278
  37. data/spec/cassettes/upload_file_with_privacy.yml +0 -277
  38. data/spec/cassettes/view_drop.yml +0 -45
  39. data/spec/cloudapp/authorized_representation_spec.rb +0 -32
  40. data/spec/cloudapp/collection_json/item_spec.rb +0 -45
  41. data/spec/cloudapp/collection_json/representation_spec.rb +0 -118
  42. data/spec/cloudapp/collection_json/template_spec.rb +0 -53
  43. data/spec/cloudapp/drop_collection_spec.rb +0 -127
  44. data/spec/cloudapp/drop_spec.rb +0 -142
  45. data/spec/cloudapp/service_spec.rb +0 -335
  46. data/spec/helper.rb +0 -8
  47. data/spec/integration_spec.rb +0 -68
  48. data/spec/support/files/favicon.ico +0 -0
  49. data/spec/support/stub_class_or_module.rb +0 -22
  50. data/spec/support/vcr.rb +0 -24
@@ -1,129 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api.getcloudapp.com/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Authorization:
11
- - Token token="abc123"
12
- Accept:
13
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
14
- text/plain
15
- Accept-Encoding:
16
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
- User-Agent:
18
- - Ruby
19
- response:
20
- status:
21
- code: 200
22
- message: OK
23
- headers:
24
- Cache-Control:
25
- - max-age=0, private, must-revalidate
26
- Content-Type:
27
- - application/vnd.collection+json; charset=utf-8
28
- Etag:
29
- - ! '"44e8e003e0f1b5e38f7ca916ff4497d7"'
30
- Server:
31
- - thin 1.4.1 codename Chromeo
32
- X-Runtime:
33
- - '0.008682'
34
- X-Ua-Compatible:
35
- - IE=Edge,chrome=1
36
- Transfer-Encoding:
37
- - chunked
38
- Connection:
39
- - keep-alive
40
- body:
41
- encoding: US-ASCII
42
- string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/","links":[{"rel":"drops","href":"https://api.getcloudapp.com/drops"}]}}'
43
- http_version:
44
- recorded_at: Fri, 24 Aug 2012 20:43:31 GMT
45
- - request:
46
- method: get
47
- uri: https://api.getcloudapp.com/drops
48
- body:
49
- encoding: US-ASCII
50
- string: ''
51
- headers:
52
- Authorization:
53
- - Token token="abc123"
54
- Accept:
55
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
56
- text/plain
57
- Accept-Encoding:
58
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
59
- User-Agent:
60
- - Ruby
61
- response:
62
- status:
63
- code: 200
64
- message: OK
65
- headers:
66
- Cache-Control:
67
- - max-age=0, private, must-revalidate
68
- Content-Type:
69
- - application/vnd.collection+json; charset=utf-8
70
- Etag:
71
- - ! '"47b61ccba7fbae8a22e1be29f6eb50b8"'
72
- Server:
73
- - thin 1.4.1 codename Chromeo
74
- X-Runtime:
75
- - '0.031609'
76
- X-Ua-Compatible:
77
- - IE=Edge,chrome=1
78
- Transfer-Encoding:
79
- - chunked
80
- Connection:
81
- - keep-alive
82
- body:
83
- encoding: US-ASCII
84
- string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21399180","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/IzhX"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399180},{"name":"name","value":"http://cl.ly"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:24Z"}]},{"href":"https://api.getcloudapp.com/drops/21399179","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/2D0r2k0z2u2E"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/2D0r2k0z2u2E"},{"rel":"embed","href":"http://cl.ly/image/2D0r2k0z2u2E/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/2D0r2k0z2u2E/download/favicon.ico"}],"data":[{"name":"id","value":21399179},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:22Z"}]}]}}'
85
- http_version:
86
- recorded_at: Fri, 24 Aug 2012 20:43:31 GMT
87
- - request:
88
- method: get
89
- uri: https://api.getcloudapp.com/drops?filter=active&limit=1
90
- body:
91
- encoding: US-ASCII
92
- string: ''
93
- headers:
94
- Authorization:
95
- - Token token="abc123"
96
- Accept:
97
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
98
- text/plain
99
- Accept-Encoding:
100
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
101
- User-Agent:
102
- - Ruby
103
- response:
104
- status:
105
- code: 200
106
- message: OK
107
- headers:
108
- Cache-Control:
109
- - max-age=0, private, must-revalidate
110
- Content-Type:
111
- - application/vnd.collection+json; charset=utf-8
112
- Etag:
113
- - ! '"8c18a5e716b4ca5c471ea8245e3e9a95"'
114
- Server:
115
- - thin 1.4.1 codename Chromeo
116
- X-Runtime:
117
- - '0.013622'
118
- X-Ua-Compatible:
119
- - IE=Edge,chrome=1
120
- Transfer-Encoding:
121
- - chunked
122
- Connection:
123
- - keep-alive
124
- body:
125
- encoding: US-ASCII
126
- string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"},{"rel":"next","href":"https://api.getcloudapp.com/drops?filter=active&page=2&per_page=1"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21399180","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/IzhX"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399180},{"name":"name","value":"http://cl.ly"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:24Z"}]}]}}'
127
- http_version:
128
- recorded_at: Fri, 24 Aug 2012 20:43:31 GMT
129
- recorded_with: VCR 2.0.1
@@ -1,466 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api.getcloudapp.com/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Authorization:
11
- - Token token="abc123"
12
- Accept:
13
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
14
- text/plain
15
- Accept-Encoding:
16
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
- User-Agent:
18
- - Ruby
19
- response:
20
- status:
21
- code: 200
22
- message: OK
23
- headers:
24
- Cache-Control:
25
- - max-age=0, private, must-revalidate
26
- Content-Type:
27
- - application/vnd.collection+json; charset=utf-8
28
- Etag:
29
- - ! '"44e8e003e0f1b5e38f7ca916ff4497d7"'
30
- Server:
31
- - thin 1.4.1 codename Chromeo
32
- X-Runtime:
33
- - '0.011500'
34
- X-Ua-Compatible:
35
- - IE=Edge,chrome=1
36
- Content-Length:
37
- - '139'
38
- Connection:
39
- - keep-alive
40
- body:
41
- encoding: US-ASCII
42
- string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/","links":[{"rel":"drops","href":"https://api.getcloudapp.com/drops"}]}}'
43
- http_version:
44
- recorded_at: Fri, 24 Aug 2012 20:43:41 GMT
45
- - request:
46
- method: get
47
- uri: https://api.getcloudapp.com/drops
48
- body:
49
- encoding: US-ASCII
50
- string: ''
51
- headers:
52
- Authorization:
53
- - Token token="abc123"
54
- Accept:
55
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
56
- text/plain
57
- Accept-Encoding:
58
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
59
- User-Agent:
60
- - Ruby
61
- response:
62
- status:
63
- code: 200
64
- message: OK
65
- headers:
66
- Cache-Control:
67
- - max-age=0, private, must-revalidate
68
- Content-Type:
69
- - application/vnd.collection+json; charset=utf-8
70
- Etag:
71
- - ! '"16034b9fdf04b736baac4953b7212a4a"'
72
- Server:
73
- - thin 1.4.1 codename Chromeo
74
- X-Runtime:
75
- - '0.038947'
76
- X-Ua-Compatible:
77
- - IE=Edge,chrome=1
78
- Transfer-Encoding:
79
- - chunked
80
- Connection:
81
- - keep-alive
82
- body:
83
- encoding: US-ASCII
84
- string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21399192","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/Iyky"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/Iyky"},{"rel":"embed","href":"http://cl.ly/Iyky/favicon.ico"},{"rel":"download","href":"http://cl.ly/Iyky/download/favicon.ico"}],"data":[{"name":"id","value":21399192},{"name":"name","value":"favicon.ico"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:40Z"}]},{"href":"https://api.getcloudapp.com/drops/21399191","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/1C0j3k253c3A"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/1C0j3k253c3A"},{"rel":"embed","href":"http://cl.ly/image/1C0j3k253c3A/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/1C0j3k253c3A/download/favicon.ico"}],"data":[{"name":"id","value":21399191},{"name":"name","value":"New
85
- File"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:39Z"}]},{"href":"https://api.getcloudapp.com/drops/21399190","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/0e1T2Q2c2C2Q"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/0e1T2Q2c2C2Q"},{"rel":"embed","href":"http://cl.ly/image/0e1T2Q2c2C2Q/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/0e1T2Q2c2C2Q/download/favicon.ico"}],"data":[{"name":"id","value":21399190},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:37Z"}]},{"href":"https://api.getcloudapp.com/drops/21399189","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/IylG"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399189},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:36Z"}]},{"href":"https://api.getcloudapp.com/drops/21399188","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/030W2b2b3g3i"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399188},{"name":"name","value":"New
86
- Bookmark"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:35Z"}]},{"href":"https://api.getcloudapp.com/drops/21399186","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/182Y3i0P0h03"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399186},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:34Z"}]},{"href":"https://api.getcloudapp.com/drops/21399180","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/IzhX"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399180},{"name":"name","value":"http://cl.ly"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:24Z"}]},{"href":"https://api.getcloudapp.com/drops/21399179","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/2D0r2k0z2u2E"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/2D0r2k0z2u2E"},{"rel":"embed","href":"http://cl.ly/image/2D0r2k0z2u2E/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/2D0r2k0z2u2E/download/favicon.ico"}],"data":[{"name":"id","value":21399179},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:22Z"}]}]}}'
87
- http_version:
88
- recorded_at: Fri, 24 Aug 2012 20:43:41 GMT
89
- - request:
90
- method: get
91
- uri: https://api.getcloudapp.com/drops?filter=all&limit=20
92
- body:
93
- encoding: US-ASCII
94
- string: ''
95
- headers:
96
- Authorization:
97
- - Token token="abc123"
98
- Accept:
99
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
100
- text/plain
101
- Accept-Encoding:
102
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
103
- User-Agent:
104
- - Ruby
105
- response:
106
- status:
107
- code: 200
108
- message: OK
109
- headers:
110
- Cache-Control:
111
- - max-age=0, private, must-revalidate
112
- Content-Type:
113
- - application/vnd.collection+json; charset=utf-8
114
- Etag:
115
- - ! '"5629992dd3ccd63c9e00742abaee8839"'
116
- Server:
117
- - thin 1.4.1 codename Chromeo
118
- X-Runtime:
119
- - '0.026316'
120
- X-Ua-Compatible:
121
- - IE=Edge,chrome=1
122
- Content-Length:
123
- - '5420'
124
- Connection:
125
- - keep-alive
126
- body:
127
- encoding: US-ASCII
128
- string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21399192","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/Iyky"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/Iyky"},{"rel":"embed","href":"http://cl.ly/Iyky/favicon.ico"},{"rel":"download","href":"http://cl.ly/Iyky/download/favicon.ico"}],"data":[{"name":"id","value":21399192},{"name":"name","value":"favicon.ico"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:40Z"}]},{"href":"https://api.getcloudapp.com/drops/21399191","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/1C0j3k253c3A"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/1C0j3k253c3A"},{"rel":"embed","href":"http://cl.ly/image/1C0j3k253c3A/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/1C0j3k253c3A/download/favicon.ico"}],"data":[{"name":"id","value":21399191},{"name":"name","value":"New
129
- File"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:39Z"}]},{"href":"https://api.getcloudapp.com/drops/21399190","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/0e1T2Q2c2C2Q"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/0e1T2Q2c2C2Q"},{"rel":"embed","href":"http://cl.ly/image/0e1T2Q2c2C2Q/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/0e1T2Q2c2C2Q/download/favicon.ico"}],"data":[{"name":"id","value":21399190},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:37Z"}]},{"href":"https://api.getcloudapp.com/drops/21399189","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/IylG"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399189},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:36Z"}]},{"href":"https://api.getcloudapp.com/drops/21399188","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/030W2b2b3g3i"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399188},{"name":"name","value":"New
130
- Bookmark"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:35Z"}]},{"href":"https://api.getcloudapp.com/drops/21399186","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/182Y3i0P0h03"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399186},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:34Z"}]},{"href":"https://api.getcloudapp.com/drops/21399181","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/2u1w43423j3c"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399181},{"name":"name","value":"CloudApp"},{"name":"private","value":true},{"name":"trash","value":true},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:25Z"}]},{"href":"https://api.getcloudapp.com/drops/21399180","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/IzhX"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21399180},{"name":"name","value":"http://cl.ly"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:24Z"}]},{"href":"https://api.getcloudapp.com/drops/21399179","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/2D0r2k0z2u2E"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/2D0r2k0z2u2E"},{"rel":"embed","href":"http://cl.ly/image/2D0r2k0z2u2E/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/2D0r2k0z2u2E/download/favicon.ico"}],"data":[{"name":"id","value":21399179},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-08-24T20:43:22Z"}]}]}}'
131
- http_version:
132
- recorded_at: Fri, 24 Aug 2012 20:43:42 GMT
133
- - request:
134
- method: delete
135
- uri: https://api.getcloudapp.com/drops/21399192
136
- body:
137
- encoding: US-ASCII
138
- string: ''
139
- headers:
140
- Authorization:
141
- - Token token="abc123"
142
- Accept:
143
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
144
- text/plain
145
- User-Agent:
146
- - Ruby
147
- response:
148
- status:
149
- code: 204
150
- message: No Content
151
- headers:
152
- Cache-Control:
153
- - no-cache
154
- Server:
155
- - thin 1.4.1 codename Chromeo
156
- Set-Cookie:
157
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTQxMmRmYWYyMDMxNmY4NTQ5MjNmNTkzMTNjZjdjYjY4BjsAVA%3D%3D--2a6bcba8c23d18332346185f447199e835985d06;
158
- path=/; HttpOnly
159
- X-Runtime:
160
- - '0.088312'
161
- X-Ua-Compatible:
162
- - IE=Edge,chrome=1
163
- Connection:
164
- - keep-alive
165
- body:
166
- encoding: US-ASCII
167
- string: ''
168
- http_version:
169
- recorded_at: Fri, 24 Aug 2012 20:43:42 GMT
170
- - request:
171
- method: delete
172
- uri: https://api.getcloudapp.com/drops/21399191
173
- body:
174
- encoding: US-ASCII
175
- string: ''
176
- headers:
177
- Authorization:
178
- - Token token="abc123"
179
- Accept:
180
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
181
- text/plain
182
- User-Agent:
183
- - Ruby
184
- response:
185
- status:
186
- code: 204
187
- message: No Content
188
- headers:
189
- Cache-Control:
190
- - no-cache
191
- Server:
192
- - thin 1.4.1 codename Chromeo
193
- Set-Cookie:
194
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWQ5NTRiNDI2ODVmOWVjMTgwNzc5YjEyMDRkOTZjZTk0BjsAVA%3D%3D--1acb6dc5907d625868e3386fe3f66ae882b51a4b;
195
- path=/; HttpOnly
196
- X-Runtime:
197
- - '0.096332'
198
- X-Ua-Compatible:
199
- - IE=Edge,chrome=1
200
- Connection:
201
- - keep-alive
202
- body:
203
- encoding: US-ASCII
204
- string: ''
205
- http_version:
206
- recorded_at: Fri, 24 Aug 2012 20:43:42 GMT
207
- - request:
208
- method: delete
209
- uri: https://api.getcloudapp.com/drops/21399190
210
- body:
211
- encoding: US-ASCII
212
- string: ''
213
- headers:
214
- Authorization:
215
- - Token token="abc123"
216
- Accept:
217
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
218
- text/plain
219
- User-Agent:
220
- - Ruby
221
- response:
222
- status:
223
- code: 204
224
- message: No Content
225
- headers:
226
- Cache-Control:
227
- - no-cache
228
- Server:
229
- - thin 1.4.1 codename Chromeo
230
- Set-Cookie:
231
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWMwNjgzNGJmYzQ2ZjI0ZTEzOWE5OWEzZmVmNzkxOTFmBjsAVA%3D%3D--793c0469d8e4c313a5efe7fee984f348600f776b;
232
- path=/; HttpOnly
233
- X-Runtime:
234
- - '0.070155'
235
- X-Ua-Compatible:
236
- - IE=Edge,chrome=1
237
- Connection:
238
- - keep-alive
239
- body:
240
- encoding: US-ASCII
241
- string: ''
242
- http_version:
243
- recorded_at: Fri, 24 Aug 2012 20:43:43 GMT
244
- - request:
245
- method: delete
246
- uri: https://api.getcloudapp.com/drops/21399189
247
- body:
248
- encoding: US-ASCII
249
- string: ''
250
- headers:
251
- Authorization:
252
- - Token token="abc123"
253
- Accept:
254
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
255
- text/plain
256
- User-Agent:
257
- - Ruby
258
- response:
259
- status:
260
- code: 204
261
- message: No Content
262
- headers:
263
- Cache-Control:
264
- - no-cache
265
- Server:
266
- - thin 1.4.1 codename Chromeo
267
- Set-Cookie:
268
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTQxNzYwZDdkOTQ5YTdlZDVkMTMwZTliNGE0N2Y4YWUxBjsAVA%3D%3D--0d8b1dfd48c01a224621ca20eb1dc5452c2c6e52;
269
- path=/; HttpOnly
270
- X-Runtime:
271
- - '0.052787'
272
- X-Ua-Compatible:
273
- - IE=Edge,chrome=1
274
- Connection:
275
- - keep-alive
276
- body:
277
- encoding: US-ASCII
278
- string: ''
279
- http_version:
280
- recorded_at: Fri, 24 Aug 2012 20:43:43 GMT
281
- - request:
282
- method: delete
283
- uri: https://api.getcloudapp.com/drops/21399188
284
- body:
285
- encoding: US-ASCII
286
- string: ''
287
- headers:
288
- Authorization:
289
- - Token token="abc123"
290
- Accept:
291
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
292
- text/plain
293
- User-Agent:
294
- - Ruby
295
- response:
296
- status:
297
- code: 204
298
- message: No Content
299
- headers:
300
- Cache-Control:
301
- - no-cache
302
- Server:
303
- - thin 1.4.1 codename Chromeo
304
- Set-Cookie:
305
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWY2NDIxZDA1YzAxYzQxZGQwMjcxODNjOGE2MzZjYmNmBjsAVA%3D%3D--6a201e1c0cb0a27a728dfe16eb3d6dc2a9c1f575;
306
- path=/; HttpOnly
307
- X-Runtime:
308
- - '0.067189'
309
- X-Ua-Compatible:
310
- - IE=Edge,chrome=1
311
- Connection:
312
- - keep-alive
313
- body:
314
- encoding: US-ASCII
315
- string: ''
316
- http_version:
317
- recorded_at: Fri, 24 Aug 2012 20:43:43 GMT
318
- - request:
319
- method: delete
320
- uri: https://api.getcloudapp.com/drops/21399186
321
- body:
322
- encoding: US-ASCII
323
- string: ''
324
- headers:
325
- Authorization:
326
- - Token token="abc123"
327
- Accept:
328
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
329
- text/plain
330
- User-Agent:
331
- - Ruby
332
- response:
333
- status:
334
- code: 204
335
- message: No Content
336
- headers:
337
- Cache-Control:
338
- - no-cache
339
- Server:
340
- - thin 1.4.1 codename Chromeo
341
- Set-Cookie:
342
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWUxODM5NzVlYTRkMWI4NWIzNzk3MGEzYzU1MjQ0NzZkBjsAVA%3D%3D--619f46ca6d2472e3405c897ee3ff162c9ed272a5;
343
- path=/; HttpOnly
344
- X-Runtime:
345
- - '0.075226'
346
- X-Ua-Compatible:
347
- - IE=Edge,chrome=1
348
- Connection:
349
- - keep-alive
350
- body:
351
- encoding: US-ASCII
352
- string: ''
353
- http_version:
354
- recorded_at: Fri, 24 Aug 2012 20:43:44 GMT
355
- - request:
356
- method: delete
357
- uri: https://api.getcloudapp.com/drops/21399181
358
- body:
359
- encoding: US-ASCII
360
- string: ''
361
- headers:
362
- Authorization:
363
- - Token token="abc123"
364
- Accept:
365
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
366
- text/plain
367
- User-Agent:
368
- - Ruby
369
- response:
370
- status:
371
- code: 204
372
- message: No Content
373
- headers:
374
- Cache-Control:
375
- - no-cache
376
- Server:
377
- - thin 1.4.1 codename Chromeo
378
- Set-Cookie:
379
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTJhYzg5NGVmZGE1NjU1MjEyOTEwOTFlMTY2YTdiOGIzBjsAVA%3D%3D--0576b1c29b2751982b452182d3b8c91e5e03bb0a;
380
- path=/; HttpOnly
381
- X-Runtime:
382
- - '0.087536'
383
- X-Ua-Compatible:
384
- - IE=Edge,chrome=1
385
- Connection:
386
- - keep-alive
387
- body:
388
- encoding: US-ASCII
389
- string: ''
390
- http_version:
391
- recorded_at: Fri, 24 Aug 2012 20:43:44 GMT
392
- - request:
393
- method: delete
394
- uri: https://api.getcloudapp.com/drops/21399180
395
- body:
396
- encoding: US-ASCII
397
- string: ''
398
- headers:
399
- Authorization:
400
- - Token token="abc123"
401
- Accept:
402
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
403
- text/plain
404
- User-Agent:
405
- - Ruby
406
- response:
407
- status:
408
- code: 204
409
- message: No Content
410
- headers:
411
- Cache-Control:
412
- - no-cache
413
- Server:
414
- - thin 1.4.1 codename Chromeo
415
- Set-Cookie:
416
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWZiOTE2OTBkOWYzOTNjN2E5NmRkNzI0NDJhYTIxZWRjBjsAVA%3D%3D--5212bb16a4e42094777fa1376aa4da0641827782;
417
- path=/; HttpOnly
418
- X-Runtime:
419
- - '0.062152'
420
- X-Ua-Compatible:
421
- - IE=Edge,chrome=1
422
- Connection:
423
- - keep-alive
424
- body:
425
- encoding: US-ASCII
426
- string: ''
427
- http_version:
428
- recorded_at: Fri, 24 Aug 2012 20:43:44 GMT
429
- - request:
430
- method: delete
431
- uri: https://api.getcloudapp.com/drops/21399179
432
- body:
433
- encoding: US-ASCII
434
- string: ''
435
- headers:
436
- Authorization:
437
- - Token token="abc123"
438
- Accept:
439
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
440
- text/plain
441
- User-Agent:
442
- - Ruby
443
- response:
444
- status:
445
- code: 204
446
- message: No Content
447
- headers:
448
- Cache-Control:
449
- - no-cache
450
- Server:
451
- - thin 1.4.1 codename Chromeo
452
- Set-Cookie:
453
- - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWM3OWM4Yzg4Njc1MjgzYTcxNGM5MWYxMDRlYjUxY2NiBjsAVA%3D%3D--65c0eb6ee02e634b8acb1d4d6cdec118bf01a60d;
454
- path=/; HttpOnly
455
- X-Runtime:
456
- - '0.077212'
457
- X-Ua-Compatible:
458
- - IE=Edge,chrome=1
459
- Connection:
460
- - keep-alive
461
- body:
462
- encoding: US-ASCII
463
- string: ''
464
- http_version:
465
- recorded_at: Fri, 24 Aug 2012 20:43:45 GMT
466
- recorded_with: VCR 2.0.1