Sha256: 872c91e5661ca86c05449831a993b8257b6e0a556fd45b94aae9597c84632145
Contents?: true
Size: 1013 Bytes
Versions: 1
Compression:
Stored size: 1013 Bytes
Contents
module Animoto module Resources module Jobs class Directing < Animoto::Resources::Jobs::Base endpoint '/jobs/directing' # @return [Hash{Symbol=>Object}] # @see Animoto::Support::StandardEnvelope::ClassMethods#unpack_standard_envelope def self.unpack_standard_envelope body super.merge(:storyboard_url => unpack_links(body)['storyboard']) end # The Storyboard created by this job. # @return [Resources::Storyboard] attr_reader :storyboard # The URL for this storyboard resource created by this job. # @return [String] attr_reader :storyboard_url # @return [Jobs::Directing] # @see Animoto::Jobs::Base#instantiate def instantiate attributes = {} @storyboard_url = attributes[:storyboard_url] @storyboard = Animoto::Resources::Storyboard.new(:url => @storyboard_url) if @storyboard_url super end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
animoto-1.0.0 | ./lib/animoto/resources/jobs/directing.rb |