./lib/animoto/assets/title_card.rb in animoto-1.3.0 vs ./lib/animoto/assets/title_card.rb in animoto-1.3.1

- old
+ new

@@ -34,14 +34,14 @@ # Returns a representation of this TitleCard as a Hash. # # @return [Hash{String=>Object}] this TitleCard as a Hash def to_hash - hash = {} + hash = { 'type' => 'title_card' } hash['h1'] = title hash['h2'] = subtitle if subtitle hash['spotlit'] = spotlit? unless @spotlit.nil? hash end end end -end \ No newline at end of file +end