s3_media_server_api 0.1.2.1 → 0.1.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ac65315e2322805f5b9d1364ff9c0eabd0f4e9d
|
4
|
+
data.tar.gz: 84ad5c095205ce1943f77fae992fce9906bd2798
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c735a64c83e6aa25e516add791021fa925c6d02bae5edef034127301bddd703099113e7e087d4eb6a33aef687a1077cc89365a700426873fa12414d2923c866e
|
7
|
+
data.tar.gz: c3a6f98e15da99109468355aa37f18f3fe119b75545efa598063597968f9829c9086618dd1980992c38a6b4d2af01ddb3d35efa1fc32c83e62bafc7ac999acbb
|
@@ -42,6 +42,7 @@ module S3MediaServerApi
|
|
42
42
|
# returns: response with copied image
|
43
43
|
#
|
44
44
|
def copy(uuid)
|
45
|
+
return unless uuid
|
45
46
|
Image.new(custom_sync_request(:copy, uuid: uuid))
|
46
47
|
end
|
47
48
|
#
|
@@ -49,6 +50,7 @@ module S3MediaServerApi
|
|
49
50
|
# parameters: uuid - uuid of file
|
50
51
|
#
|
51
52
|
def resize(uuid)
|
53
|
+
return unless uuid
|
52
54
|
custom_async_request(:resize, uuid: uuid)
|
53
55
|
end
|
54
56
|
|