Sha256: 13727c04b68a96434d00b5c4ef5a31ffba4f62e71c822a4614c7fecdf91f4d3b

Contents?: true

Size: 450 Bytes

Versions: 4

Compression:

Stored size: 450 Bytes

Contents

module Animoto
  class Manifest
    include ContentType
    
    # Returns a representation of this manifest as a Hash, used to populate
    # request bodies when directing, rendering, etc.
    #
    # @return [Hash] the manifest as a Hash
    def to_hash
      {}
    end
    
    # Returns a representation of this manifest as JSON.
    #
    # @return [String] the manifest as JSON
    def to_json
      self.to_hash.to_json
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
animoto-0.0.0.alpha3 ./lib/animoto/manifest.rb
animoto-0.0.0.alpha2 ./lib/animoto/manifest.rb
animoto-0.0.0.alpha1 ./lib/animoto/manifest.rb
animoto-0.0.0.alpha0 ./lib/animoto/manifest.rb