Sha256: dfd0d078570a96b6499a67fa178226d171cc2dabaaf4273eedd3a4d2bd3d6e0a
Contents?: true
Size: 482 Bytes
Versions: 10
Compression:
Stored size: 482 Bytes
Contents
module Animoto class DirectingAndRenderingJob < Animoto::Job endpoint '/jobs/directing_and_rendering' def self.unpack_standard_envelope body super.merge(:video_url => body['response']['payload'][payload_key]['links']['video']) end attr_reader :video, :video_url def instantiate attributes = {} @video_url = attributes[:video_url] @video = Animoto::Video.new(:url => @video_url) if @video_url super end end end
Version data entries
10 entries across 10 versions & 1 rubygems