Module: Representable::XML::ClassMethods

Defined in:
lib/representable/xml.rb

Instance Method Summary collapse

Instance Method Details

#collection_representer_classObject



31
32
33
# File 'lib/representable/xml.rb', line 31

def collection_representer_class
  Collection
end

#format_engineObject



27
28
29
# File 'lib/representable/xml.rb', line 27

def format_engine
  Representable::XML
end

#remove_namespaces!Object



23
24
25
# File 'lib/representable/xml.rb', line 23

def remove_namespaces!
  representable_attrs.options[:remove_namespaces] = true
end