s3_media_server_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/s3_media_server_api/media/audio.rb +1 -3
- data/lib/s3_media_server_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d44077ccfa57782dedd3b0118ccc85df39bae0f3
|
4
|
+
data.tar.gz: ecc31290aa5609881007706e961067cc68dfeda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10960b6d0abcefef5e28bbb3c7d0b63a8fdd9b18b09cf91eeb01f281e7261249ca6713b24bf1f6dcaa661e6acbeb6ac83b4ae50900478977e630ebde77cae90f
|
7
|
+
data.tar.gz: 41c43c2370650dbc439c8214e74f098b501d57326658fc9747cda7ca97e7398cbc66abcf55a41b259813a204ffc829494fcc2c8de2c579b711898f3ad1bf0221
|
@@ -23,14 +23,12 @@ module S3MediaServerApi
|
|
23
23
|
#
|
24
24
|
# sends request to cut audio file
|
25
25
|
# parameters: uuid - uuid of file
|
26
|
-
# audio_url - url of audio file
|
27
26
|
# duration - duration of audio file
|
28
27
|
# start_position - position where cut wil be made
|
29
28
|
#
|
30
|
-
def cut(uuid,
|
29
|
+
def cut(uuid, duration:, start_position:)
|
31
30
|
params = {
|
32
31
|
uuid: uuid,
|
33
|
-
audio_url: audio_url,
|
34
32
|
duration: duration,
|
35
33
|
start_position: start_position
|
36
34
|
}
|