lapse 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lapse/client/frames.rb +11 -0
- data/lib/lapse/version.rb +1 -1
- metadata +2 -2
data/lib/lapse/client/frames.rb
CHANGED
@@ -13,6 +13,17 @@ module Lapse
|
|
13
13
|
def destroy_frame(clip_id, frame_id)
|
14
14
|
boolean_from_response(:delete, "clips/#{clip_id}/frames/#{frame_id}")
|
15
15
|
end
|
16
|
+
|
17
|
+
def crop_frame(clip_id, frame_id, x, y, width, height)
|
18
|
+
params = {
|
19
|
+
x: x,
|
20
|
+
y: y,
|
21
|
+
width: width,
|
22
|
+
height: height
|
23
|
+
}
|
24
|
+
boolean_from_response(:post, "clips/#{clip_id}/frames/#{frame_id}/crop", params)
|
25
|
+
end
|
26
|
+
|
16
27
|
end
|
17
28
|
end
|
18
29
|
end
|
data/lib/lapse/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lapse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash:
|
111
|
+
hash: -2670759585094245039
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
114
|
rubygems_version: 1.8.23
|