Sha256: 9c22145c5e161b242bd2a63cda850d2cab332a6d7802c795b7bc916553bc9625
Contents?: true
Size: 271 Bytes
Versions: 2
Compression:
Stored size: 271 Bytes
Contents
module Animoto class Image < Animoto::Asset include Animoto::Visual attr_accessor :rotation def to_hash hash = super hash['rotation'] = rotation if rotation hash['spotlit'] = spotlit? unless @spotlit.nil? hash end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
animoto-0.0.0.alpha1 | ./lib/animoto/image.rb |
animoto-0.0.0.alpha0 | ./lib/animoto/image.rb |