lib/lapse/client/clips.rb in lapse-0.0.15 vs lib/lapse/client/clips.rb in lapse-0.0.16
- old
+ new
@@ -18,9 +18,14 @@
def create_clip
post('clips').body
end
+ def update_clip(clip_id, options)
+ params = { clip: options }
+ patch("clips/#{clip_id}", params).body
+ end
+
def submit_frames(clip_id, frame_ids)
params = {
:frame_ids => frame_ids
}
post("clips/#{clip_id}/submit_frames", params).body