dropbox-api-petems 0.4.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +5 -0
  3. data/README.markdown +13 -8
  4. data/Rakefile +5 -0
  5. data/dropbox-api.gemspec +9 -8
  6. data/lib/dropbox-api.rb +1 -0
  7. data/lib/dropbox-api/objects/dir.rb +5 -0
  8. data/lib/dropbox-api/objects/file.rb +5 -10
  9. data/lib/dropbox-api/objects/fileops.rb +5 -0
  10. data/lib/dropbox-api/tasks.rb +2 -2
  11. data/lib/dropbox-api/version.rb +1 -1
  12. data/spec/connection.offline.yml +5 -0
  13. data/spec/lib/dropbox-api/client_spec.rb +96 -68
  14. data/spec/lib/dropbox-api/connection_spec.rb +1 -1
  15. data/spec/lib/dropbox-api/dir_spec.rb +12 -6
  16. data/spec/lib/dropbox-api/file_spec.rb +7 -11
  17. data/spec/lib/dropbox-api/oauth_spec.rb +22 -1
  18. data/spec/lib/dropbox-api/thumbnail_spec.rb +4 -4
  19. data/spec/spec_helper.rb +13 -4
  20. data/spec/support/config.rb +5 -1
  21. data/spec/vcr/cassettes/Dropbox_API_Client/_account/retrieves_the_account_object.yml +54 -0
  22. data/spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/puts_a_5MB_file_in_dropbox.yml +150 -0
  23. data/spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/yields_current_offset_and_upload_id.yml +150 -0
  24. data/spec/vcr/cassettes/Dropbox_API_Client/_copy_from_copy_ref/copies_a_file_from_a_copy_ref.yml +271 -0
  25. data/spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_a_cursor_and_list_of_files.yml +184 -0
  26. data/spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_the_files_that_have_changed_since_the_cursor_was_made.yml +361 -0
  27. data/spec/vcr/cassettes/Dropbox_API_Client/_download/a_file/downloads_a_file.yml +58 -0
  28. data/spec/vcr/cassettes/Dropbox_API_Client/_download/a_non-existant_file/raises_a_404.yml +38 -0
  29. data/spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_directory.yml +63 -0
  30. data/spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_file.yml +55 -0
  31. data/spec/vcr/cassettes/Dropbox_API_Client/_ls/a_directory/returns_an_item_array_of_directory_contents.yml +107 -0
  32. data/spec/vcr/cassettes/Dropbox_API_Client/_ls/a_single_file/returns_a_single_item_array_of_if_we_ls_a_file.yml +107 -0
  33. data/spec/vcr/cassettes/Dropbox_API_Client/_ls/no_value/returns_an_array_of_files_and_dirs.yml +115 -0
  34. data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_tricky_characters.yml +61 -0
  35. data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_utf8_characters.yml +61 -0
  36. data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/returns_an_array_of_files_and_dirs.yml +61 -0
  37. data/spec/vcr/cassettes/Dropbox_API_Client/_search/no_path_given/finds_the_file_if_in_root.yml +55 -0
  38. data/spec/vcr/cassettes/Dropbox_API_Client/_search/path_with_leading_slash/finds_the_file.yml +56 -0
  39. data/spec/vcr/cassettes/Dropbox_API_Client/_search/with_path/finds_a_file.yml +56 -0
  40. data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_tricky_characters/is_uploaded.yml +56 -0
  41. data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_utf8/is_uploaded.yml +56 -0
  42. data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_simple_file/is_uploaded.yml +55 -0
  43. data/spec/vcr/cassettes/Dropbox_API_Dir/_copy/copies_the_dir_properly.yml +120 -0
  44. data/spec/vcr/cassettes/Dropbox_API_Dir/_destroy/destroys_the_dir_properly.yml +120 -0
  45. data/spec/vcr/cassettes/Dropbox_API_Dir/_direct_url/gives_the_direct_url.yml +115 -0
  46. data/spec/vcr/cassettes/Dropbox_API_Dir/_move/moves_the_dir_properly.yml +120 -0
  47. data/spec/vcr/cassettes/Dropbox_API_File/_copy/copies_the_file_properly.yml +115 -0
  48. data/spec/vcr/cassettes/Dropbox_API_File/_copy_ref/returns_a_copy_ref_object.yml +104 -0
  49. data/spec/vcr/cassettes/Dropbox_API_File/_destroy/destroys_the_file_properly.yml +115 -0
  50. data/spec/vcr/cassettes/Dropbox_API_File/_direct_url/returns_an_Url_object.yml +109 -0
  51. data/spec/vcr/cassettes/Dropbox_API_File/_download/should_download_the_file.yml +109 -0
  52. data/spec/vcr/cassettes/Dropbox_API_File/_move/moves_the_file_properly.yml +115 -0
  53. data/spec/vcr/cassettes/Dropbox_API_File/_restore/restores_the_file_to_a_specific_revision.yml +270 -0
  54. data/spec/vcr/cassettes/Dropbox_API_File/_revisions/retrieves_all_revisions_as_an_Array_of_File_objects.yml +166 -0
  55. data/spec/vcr/cassettes/Dropbox_API_File/_share_url/returns_an_Url_object.yml +109 -0
  56. data/spec/vcr/cassettes/Dropbox_API_File/_thumbnail/downloads_a_thumbnail.yml +427 -0
  57. data/spec/vcr/cassettes/Dropbox_API_OAuth/_consumer/provides_an_oauth_method.yml +105 -0
  58. metadata +127 -41
  59. data/.ruby-version +0 -1
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.dropbox.com/1/fileops/create_folder
6
+ body:
7
+ encoding: US-ASCII
8
+ string: path=awesome-tests-%21%40%23%24%25%5E%26%7Bb%7D%5B%5D.%3B%27.%2C&root=dropbox
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - OAuth gem v0.4.7
16
+ Content-Length:
17
+ - '0'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Authorization:
21
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Server:
28
+ - nginx
29
+ Date:
30
+ - Mon, 10 Feb 2014 20:37:10 GMT
31
+ Content-Type:
32
+ - text/javascript
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ Set-Cookie:
38
+ - gvc=NzkxMTY5MDEzMjQxMjA5OTgyNzg1OTQ5ODAyNjYyMjYyMzM0NjQ%3D; expires=Sat, 09
39
+ Feb 2019 20:37:10 GMT; Path=/; httponly
40
+ X-Server-Response-Time:
41
+ - '188'
42
+ X-Dropbox-Request-Id:
43
+ - fc88ff4138bc2c5f7ba768c7b01150f9
44
+ Pragma:
45
+ - no-cache
46
+ Cache-Control:
47
+ - no-cache
48
+ X-Dropbox-Http-Protocol:
49
+ - None
50
+ X-Frame-Options:
51
+ - SAMEORIGIN
52
+ X-Requestid:
53
+ - c518f6939b4cd2f6e18e2470c3f02429
54
+ body:
55
+ encoding: UTF-8
56
+ string: '{"revision": 77, "rev": "4d1f47d8b3", "thumb_exists": false, "bytes":
57
+ 0, "modified": "Mon, 10 Feb 2014 20:37:09 +0000", "path": "/awesome-tests-!@#$%^&{b}[].;''.,",
58
+ "is_dir": true, "icon": "folder", "root": "dropbox", "size": "0 bytes"}'
59
+ http_version:
60
+ recorded_at: Mon, 10 Feb 2014 20:37:11 GMT
61
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.dropbox.com/1/fileops/create_folder
6
+ body:
7
+ encoding: US-ASCII
8
+ string: path=awesome-tests-%C5%82%C3%B3%C5%82%C4%85&root=dropbox
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - OAuth gem v0.4.7
16
+ Content-Length:
17
+ - '0'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Authorization:
21
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Server:
28
+ - nginx
29
+ Date:
30
+ - Mon, 10 Feb 2014 20:37:11 GMT
31
+ Content-Type:
32
+ - text/javascript
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ Set-Cookie:
38
+ - gvc=MTA1OTQ0Mzg2MTgyMjcxNTQ0ODI5MDI0ODI2NjIzNjA5NzQ5Nzg4; expires=Sat, 09
39
+ Feb 2019 20:37:11 GMT; Path=/; httponly
40
+ X-Server-Response-Time:
41
+ - '142'
42
+ X-Dropbox-Request-Id:
43
+ - 14136af946b9c4de18718963c423435b
44
+ Pragma:
45
+ - no-cache
46
+ Cache-Control:
47
+ - no-cache
48
+ X-Dropbox-Http-Protocol:
49
+ - None
50
+ X-Frame-Options:
51
+ - SAMEORIGIN
52
+ X-Requestid:
53
+ - 3784fd5ef1f0bb4747a76d2fa8cee123
54
+ body:
55
+ encoding: UTF-8
56
+ string: '{"revision": 78, "rev": "4e1f47d8b3", "thumb_exists": false, "bytes":
57
+ 0, "modified": "Mon, 10 Feb 2014 20:37:11 +0000", "path": "/awesome-tests-\u0142\u00f3\u0142\u0105",
58
+ "is_dir": true, "icon": "folder", "root": "dropbox", "size": "0 bytes"}'
59
+ http_version:
60
+ recorded_at: Mon, 10 Feb 2014 20:37:12 GMT
61
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.dropbox.com/1/fileops/create_folder
6
+ body:
7
+ encoding: US-ASCII
8
+ string: path=awesome-tests&root=dropbox
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - OAuth gem v0.4.7
16
+ Content-Length:
17
+ - '0'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Authorization:
21
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Server:
28
+ - nginx
29
+ Date:
30
+ - Mon, 10 Feb 2014 20:41:49 GMT
31
+ Content-Type:
32
+ - text/javascript
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ Set-Cookie:
38
+ - gvc=MjIzMDY1MDQ1MDI2MDU1MDEyMjk4NDYxMzEyMTU0NDQ3NzI5Nzk5; expires=Sat, 09
39
+ Feb 2019 20:41:49 GMT; Path=/; httponly
40
+ X-Server-Response-Time:
41
+ - '165'
42
+ X-Dropbox-Request-Id:
43
+ - 3cf0e56149eac959e5b4c669799eb77b
44
+ Pragma:
45
+ - no-cache
46
+ Cache-Control:
47
+ - no-cache
48
+ X-Dropbox-Http-Protocol:
49
+ - None
50
+ X-Frame-Options:
51
+ - SAMEORIGIN
52
+ X-Requestid:
53
+ - 5ecf433db403e959780ffff06c40045a
54
+ body:
55
+ encoding: UTF-8
56
+ string: '{"revision": 102, "rev": "661f47d8b3", "thumb_exists": false, "bytes":
57
+ 0, "modified": "Mon, 10 Feb 2014 20:41:49 +0000", "path": "/awesome-tests",
58
+ "is_dir": true, "icon": "folder", "root": "dropbox", "size": "0 bytes"}'
59
+ http_version:
60
+ recorded_at: Mon, 10 Feb 2014 20:41:50 GMT
61
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,55 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.dropbox.com/1/search/dropbox/?query=foo.txt
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - OAuth gem v0.4.7
16
+ Authorization:
17
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Mon, 10 Feb 2014 20:50:12 GMT
27
+ Content-Type:
28
+ - text/javascript
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - keep-alive
33
+ X-Server-Response-Time:
34
+ - '43'
35
+ X-Dropbox-Request-Id:
36
+ - ea5aa167d113aff0c0da6538a0a1f2cb
37
+ Pragma:
38
+ - no-cache
39
+ Cache-Control:
40
+ - no-cache
41
+ X-Dropbox-Http-Protocol:
42
+ - None
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Requestid:
46
+ - cd0a0c40feaa2d96119d18a731341d29
47
+ body:
48
+ encoding: UTF-8
49
+ string: '[{"revision": 109, "rev": "6d1f47d8b3", "thumb_exists": false, "bytes":
50
+ 9, "modified": "Mon, 10 Feb 2014 20:49:35 +0000", "client_mtime": "Mon, 10
51
+ Feb 2014 18:12:21 +0000", "path": "/foo2.txt", "is_dir": false, "icon": "page_white_text",
52
+ "root": "dropbox", "mime_type": "text/plain", "size": "9 bytes"}]'
53
+ http_version:
54
+ recorded_at: Mon, 10 Feb 2014 20:50:13 GMT
55
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.dropbox.com/1/search/dropbox/awesome-tests?query=foo.txt
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - OAuth gem v0.4.7
16
+ Authorization:
17
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Mon, 10 Feb 2014 20:29:12 GMT
27
+ Content-Type:
28
+ - text/javascript
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - keep-alive
33
+ X-Server-Response-Time:
34
+ - '47'
35
+ X-Dropbox-Request-Id:
36
+ - e647e04863d08b81afbaf395630a133a
37
+ Pragma:
38
+ - no-cache
39
+ Cache-Control:
40
+ - no-cache
41
+ X-Dropbox-Http-Protocol:
42
+ - None
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Requestid:
46
+ - 4e0411ed0c52bcddf32b2932468a4cb2
47
+ body:
48
+ encoding: UTF-8
49
+ string: '[{"revision": 47, "rev": "2f1f47d8b3", "thumb_exists": false, "bytes":
50
+ 9, "modified": "Mon, 10 Feb 2014 19:03:45 +0000", "client_mtime": "Mon, 10
51
+ Feb 2014 19:03:45 +0000", "path": "/awesome-tests/delta-test-foo.txt", "is_dir":
52
+ false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
53
+ "size": "9 bytes"}]'
54
+ http_version:
55
+ recorded_at: Mon, 10 Feb 2014 20:29:13 GMT
56
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.dropbox.com/1/search/dropbox/awesome-tests?query=foo.txt
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - OAuth gem v0.4.7
16
+ Authorization:
17
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Mon, 10 Feb 2014 20:29:11 GMT
27
+ Content-Type:
28
+ - text/javascript
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - keep-alive
33
+ X-Server-Response-Time:
34
+ - '72'
35
+ X-Dropbox-Request-Id:
36
+ - f47c688ffb5e9c74dae3883a92315928
37
+ Pragma:
38
+ - no-cache
39
+ Cache-Control:
40
+ - no-cache
41
+ X-Dropbox-Http-Protocol:
42
+ - None
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Requestid:
46
+ - 4b2cf80d64dc6ad41bfce0d5b49e4f73
47
+ body:
48
+ encoding: UTF-8
49
+ string: '[{"revision": 47, "rev": "2f1f47d8b3", "thumb_exists": false, "bytes":
50
+ 9, "modified": "Mon, 10 Feb 2014 19:03:45 +0000", "client_mtime": "Mon, 10
51
+ Feb 2014 19:03:45 +0000", "path": "/awesome-tests/delta-test-foo.txt", "is_dir":
52
+ false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
53
+ "size": "9 bytes"}]'
54
+ http_version:
55
+ recorded_at: Mon, 10 Feb 2014 20:29:12 GMT
56
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://api-content.dropbox.com/1/files_put/dropbox/test%20,%7C!@%23$%25%5E&*%7Bb%7D%5B%5D.;'.,%3C%3E%3F:.txt
6
+ body:
7
+ encoding: UTF-8
8
+ string: Some file
9
+ headers:
10
+ Content-Type:
11
+ - application/octet-stream
12
+ Content-Length:
13
+ - '9'
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - '*/*'
18
+ User-Agent:
19
+ - OAuth gem v0.4.7
20
+ Authorization:
21
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Server:
28
+ - nginx
29
+ Date:
30
+ - Mon, 10 Feb 2014 20:29:09 GMT
31
+ Content-Type:
32
+ - text/javascript
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Server-Response-Time:
38
+ - '350'
39
+ X-Dropbox-Request-Id:
40
+ - 840450db3d6ae86d60d3974ce1d68afa
41
+ Pragma:
42
+ - no-cache
43
+ Cache-Control:
44
+ - no-cache
45
+ X-Requestid:
46
+ - a5631bf31c63466bfca10d40097501cd
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"revision": 10, "rev": "a1f47d8b3", "thumb_exists": false, "bytes":
50
+ 9, "modified": "Mon, 10 Feb 2014 18:14:03 +0000", "client_mtime": "Mon, 10
51
+ Feb 2014 18:14:03 +0000", "path": "/test ,|!@#$%^&*{b}[].;''.,<>?:.txt", "is_dir":
52
+ false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
53
+ "size": "9 bytes"}'
54
+ http_version:
55
+ recorded_at: Mon, 10 Feb 2014 20:29:10 GMT
56
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://api-content.dropbox.com/1/files_put/dropbox/test%20%C5%82o%C5%82%C4%85%C3%B3.txt
6
+ body:
7
+ encoding: UTF-8
8
+ string: Some file
9
+ headers:
10
+ Content-Type:
11
+ - application/octet-stream
12
+ Content-Length:
13
+ - '9'
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - '*/*'
18
+ User-Agent:
19
+ - OAuth gem v0.4.7
20
+ Authorization:
21
+ - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Server:
28
+ - nginx
29
+ Date:
30
+ - Mon, 10 Feb 2014 20:29:10 GMT
31
+ Content-Type:
32
+ - text/javascript
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Server-Response-Time:
38
+ - '365'
39
+ X-Dropbox-Request-Id:
40
+ - 82c896be4f29c872489791fcd236f67a
41
+ Pragma:
42
+ - no-cache
43
+ Cache-Control:
44
+ - no-cache
45
+ X-Requestid:
46
+ - c81b6278e8d888114f33a18c1f71916e
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"revision": 11, "rev": "b1f47d8b3", "thumb_exists": false, "bytes":
50
+ 9, "modified": "Mon, 10 Feb 2014 18:14:04 +0000", "client_mtime": "Mon, 10
51
+ Feb 2014 18:14:04 +0000", "path": "/test \u0142o\u0142\u0105\u00f3.txt", "is_dir":
52
+ false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
53
+ "size": "9 bytes"}'
54
+ http_version:
55
+ recorded_at: Mon, 10 Feb 2014 20:29:11 GMT
56
+ recorded_with: VCR 2.8.0