./lib/animoto/directing_manifest.rb in animoto-0.0.0.alpha1 vs ./lib/animoto/directing_manifest.rb in animoto-0.0.0.alpha2

- old
+ new

@@ -1,22 +1,20 @@ module Animoto class DirectingManifest < Animoto::Manifest - attr_accessor :title, :producer, :pacing, :http_callback_url, :http_callback_format + attr_accessor :title, :pacing, :http_callback_url, :http_callback_format attr_reader :visuals, :song, :style # Creates a new DirectingManifest. # # @param [Hash] options # @option options [String] :title the title of this project - # @option options [String] :producer the name of the producer of this project # @option options ['default','half','double'] :pacing ('default') the pacing for this project # @option options [String] :http_callback_url a URL to receive a callback when this job is done # @option options ['json','xml'] :http_callback_format the format of the callback def initialize options = {} @title = options[:title] - @producer = options[:producer] @pacing = options[:pacing] || 'default' @style = 'original' @visuals = [] @song = nil @http_callback_url = options[:http_callback_url] @@ -100,10 +98,9 @@ end manifest = job['directing_manifest'] manifest['style'] = style manifest['pacing'] = pacing if pacing manifest['title'] = title if title - manifest['producer_name'] = producer if producer manifest['visuals'] = [] visuals.each do |visual| manifest['visuals'] << visual.to_hash end manifest['song'] = song.to_hash if song \ No newline at end of file