./lib/animoto/manifests/base.rb in animoto-0.1.0.beta1 vs ./lib/animoto/manifests/base.rb in animoto-0.1.1.beta1
- old
+ new
@@ -3,9 +3,14 @@
# @abstract
class Base
include Support::ContentType
+ # @return [String]
+ def self.infer_content_type
+ super + '_manifest'
+ end
+
# Returns a representation of this manifest as a Hash, used to populate
# request bodies when directing, rendering, etc.
#
# @return [Hash<String,Object>] the manifest as a Hash
def to_hash
\ No newline at end of file