Sha256: 1428b400e9b9c04e0541a2097b4fae1dba136e2da5d4472fdd1e115384b3a7a8

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

module Animoto
  class Asset
    
    attr_accessor :source
    
    def initialize source, options = {}
      @source = source
    end
    
    # Returns a representation of this asset as a Hash. Used mainly for generating
    # manifests.
    #
    # @return [Hash] this asset as a Hash
    def to_hash
      { 'source' => @source }
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
animoto-0.0.0.alpha6 ./lib/animoto/asset.rb
animoto-0.0.0.alpha5 ./lib/animoto/asset.rb
animoto-0.0.0.alpha4 ./lib/animoto/asset.rb