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

- old
+ new

@@ -1,15 +1,13 @@ module Animoto class Song < Animoto::Asset - attr_accessor :start_time, :duration, :title, :artist + attr_accessor :start_time, :duration def to_hash hash = super hash['start_time'] = start_time if start_time hash['duration'] = duration if duration - hash['title'] = title if title - hash['artist'] = artist if artist hash end end end \ No newline at end of file