lib/hypertemplate/builder/json.rb in hypertemplate-1.2.1 vs lib/hypertemplate/builder/json.rb in hypertemplate-1.2.2

- old
+ new

@@ -1,11 +1,9 @@ module Hypertemplate module Builder class Json < Hypertemplate::Builder::Base - def self.media_types - ["application/json"] - end + @media_types = ["application/json"] attr_reader :raw def initialize(obj, options = {}) initialize_library