Sha256: 289a48c06981cdfdb67531a5f8e39627ac42a30e9e7b57061cd80ffabcb5f2de

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

module Animoto
  class Footage < Animoto::Asset
    include Animoto::Visual
    
    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

2 entries across 2 versions & 1 rubygems

Version Path
animoto-0.0.0.alpha1 ./lib/animoto/footage.rb
animoto-0.0.0.alpha0 ./lib/animoto/footage.rb