./lib/animoto/assets/image.rb in animoto-0.1.1.beta1 vs ./lib/animoto/assets/image.rb in animoto-1.0.0
- old
+ new
@@ -8,10 +8,10 @@
# @return [Integer]
attr_accessor :rotation
# Returns a representation of this Image as a Hash.
#
- # @return [Hash<String,Object>] this asset as a Hash
+ # @return [Hash{String=>Object}] this asset as a Hash
# @see Animoto::Support::Visual#to_hash
# @see Animoto::Assets::Base#to_hash
def to_hash
hash = super
hash['rotation'] = rotation if rotation
\ No newline at end of file