Sha256: 03487084e337d963498f583325d6723bb442116182d25fe2fc703da4913614da
Contents?: true
Size: 350 Bytes
Versions: 8
Compression:
Stored size: 350 Bytes
Contents
module Animoto class Image < Animoto::Asset include Animoto::Visual include Animoto::Coverable attr_accessor :rotation def to_hash hash = super hash['rotation'] = rotation if rotation hash['spotlit'] = spotlit? unless @spotlit.nil? hash['cover'] = cover? unless @cover.nil? hash end end end
Version data entries
8 entries across 8 versions & 1 rubygems