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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6ae8bbd93af106cc0fb3f30b2d9e58714e5935e
4
- data.tar.gz: 5de569fd821920113c74fc3263a98ea14af22b48
3
+ metadata.gz: ba763e122ce7250f27dcb1f1162b58c275d65356
4
+ data.tar.gz: 1614318c4b9fc94cdc4e15b1ab9808dac1a983f5
5
5
  SHA512:
6
- metadata.gz: 5fdfe8c8ea983ad211c27a47f6dac8aa6b329c7440482951dda9c9c50aae921f2416db8206b00ced85f2e8a31f1463d75d8bbc0eba7bb31e42ed7d4076a43f10
7
- data.tar.gz: 67356bfb3056ea1d9008e536398fa3aff7bceead5d25be1c9722378ead34f2b0e8d9cba9d488c74ed4826e87a4571b0531174174d43fc86f52c3ea8f24210c51
6
+ metadata.gz: 28acdfdb5d4714508fb2b90aa56c4094eeb65f1394160376e31fb2586629c91e2780cfac413bad77c9af1cfc3c6902c754f96aa0b2a266d6513d165b83be2840
7
+ data.tar.gz: 6f5bbc5d3f8661c80b2173b9df17a69f0ec6334ead6169b07f691bebdea3fae71b0a0d6ddeebac6f0798bd60fb16ea84e8f0e857d3e618df325f5f80a27f5bac
@@ -1,3 +1,3 @@
1
1
  module DropboxApiV2
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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.2
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-07 00:00:00.000000000 Z
12
+ date: 2016-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler