webpurify_api 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webpurify_api/image.rb +3 -2
- data/lib/webpurify_api/version.rb +1 -1
- 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: cca296ba0e42f58beccb90eb65da48b494a5cdcc
|
4
|
+
data.tar.gz: ab82364a0424d6a6c1ebb50cc7f87a272d655d0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1e54aaf496ac332a03758d6b8a1b6096979ba5a02ec02b370bbdfbf5ffdd6051db729b541d8c05ae2bc97caab44b814a4b6ae1bdc70f9fc7c40d0745bf89d00
|
7
|
+
data.tar.gz: c10cafbcb298fe8fc1f0936d6f6d7f55c8ad7eae24153db81c8799ccd6a710f116e410529dfbaa77e4cfeb8c090180635aad7fb5b9bc3c6426557d82592d6f78
|
data/lib/webpurify_api/image.rb
CHANGED
@@ -10,8 +10,9 @@ class WebpurifyApi::Image < WebpurifyApi::Base
|
|
10
10
|
res
|
11
11
|
end
|
12
12
|
|
13
|
-
def status(image_id)
|
14
|
-
|
13
|
+
def status(custom_image_id: nil, image_id: nil)
|
14
|
+
params = custom_image_id.nil? ? { imgid: image_id } : { customimgid: custom_image_id}
|
15
|
+
do_request(:imgstatus, params: params)
|
15
16
|
end
|
16
17
|
|
17
18
|
def account
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webpurify_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|