lib/hypertemplate/builder/xml.rb in hypertemplate-1.2.1 vs lib/hypertemplate/builder/xml.rb in hypertemplate-1.2.2
- old
+ new
@@ -1,11 +1,9 @@
module Hypertemplate
module Builder
class Xml < Hypertemplate::Builder::Base
- def self.media_types
- ["application/xml", "text/xml"]
- end
+ @media_types = ["application/xml", "text/xml"]
attr_reader :raw
def initialize(obj, options = {})
initialize_library