Module: Representable::XML::ClassMethods

Defined in:
lib/representable/xml.rb

Instance Method Summary collapse

Instance Method Details

#collection_representer_classObject


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

def collection_representer_class
  Collection
end

#remove_namespaces!Object


19
20
21
# File 'lib/representable/xml.rb', line 19

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