Sha256: 75c6d3642783c3eac86165c56d6fc357f17a1d60ad25ff577c1fdfcb2a73b08e

Contents?: true

Size: 262 Bytes

Versions: 8

Compression:

Stored size: 262 Bytes

Contents

module Animoto
  class Song < Animoto::Asset
    
    attr_accessor :start_time, :duration
    
    def to_hash
      hash = super
      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/song.rb
animoto-0.0.0.alpha8 ./lib/animoto/song.rb
animoto-0.0.0.alpha7 ./lib/animoto/song.rb
animoto-0.0.0.alpha6 ./lib/animoto/song.rb
animoto-0.0.0.alpha5 ./lib/animoto/song.rb
animoto-0.0.0.alpha4 ./lib/animoto/song.rb
animoto-0.0.0.alpha3 ./lib/animoto/song.rb
animoto-0.0.0.alpha2 ./lib/animoto/song.rb