Module: Representable::XML::ClassMethods
- Defined in:
- lib/representable/xml.rb
Instance Method Summary collapse
Instance Method Details
#collection_representer_class ⇒ Object
30 31 32 |
# File 'lib/representable/xml.rb', line 30 def collection_representer_class Collection end |
#format_engine ⇒ Object
26 27 28 |
# File 'lib/representable/xml.rb', line 26 def format_engine Representable::XML end |
#remove_namespaces! ⇒ Object
22 23 24 |
# File 'lib/representable/xml.rb', line 22 def remove_namespaces! representable_attrs.[:remove_namespaces] = true end |