Sha256: 89a268d03c377b23424f802526ca3e3a21c4c2c12e2af02647f1812ce45af299

Contents?: true

Size: 377 Bytes

Versions: 8

Compression:

Stored size: 377 Bytes

Contents

module Animoto
  class Footage < Animoto::Asset
    include Animoto::Visual
    include Animoto::Coverable
    
    attr_accessor :audio_mix, :start_time, :duration
    
    def to_hash
      hash = super
      hash['audio_mix'] = 'MIX' if audio_mix
      hash['start_time'] = start_time if start_time
      hash['duration'] = duration if duration
      hash 
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
animoto-0.0.0.alpha9 ./lib/animoto/footage.rb
animoto-0.0.0.alpha8 ./lib/animoto/footage.rb
animoto-0.0.0.alpha7 ./lib/animoto/footage.rb
animoto-0.0.0.alpha6 ./lib/animoto/footage.rb
animoto-0.0.0.alpha5 ./lib/animoto/footage.rb
animoto-0.0.0.alpha4 ./lib/animoto/footage.rb
animoto-0.0.0.alpha3 ./lib/animoto/footage.rb
animoto-0.0.0.alpha2 ./lib/animoto/footage.rb