dropbox_api_v2 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dropbox_api_v2/version.rb +1 -1
- data/lib/dropbox_api_v2.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba763e122ce7250f27dcb1f1162b58c275d65356
|
4
|
+
data.tar.gz: 1614318c4b9fc94cdc4e15b1ab9808dac1a983f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28acdfdb5d4714508fb2b90aa56c4094eeb65f1394160376e31fb2586629c91e2780cfac413bad77c9af1cfc3c6902c754f96aa0b2a266d6513d165b83be2840
|
7
|
+
data.tar.gz: 6f5bbc5d3f8661c80b2173b9df17a69f0ec6334ead6169b07f691bebdea3fae71b0a0d6ddeebac6f0798bd60fb16ea84e8f0e857d3e618df325f5f80a27f5bac
|
data/lib/dropbox_api_v2.rb
CHANGED
@@ -21,4 +21,8 @@ module DropboxApiV2
|
|
21
21
|
def self.search(file_path, token, args={})
|
22
22
|
Request.new("/files/search", {path: file_path, token: token}.merge(args)).response
|
23
23
|
end
|
24
|
+
|
25
|
+
def self.thumbnail(file_path, token, args={})
|
26
|
+
Request.new("/files/get_thumbnail", {format: "jpeg", size: "w64h64", path: file_path, token: token, file_transfer: true}.merge(args)).response
|
27
|
+
end
|
24
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropbox_api_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- smurfik
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|