Module: Representable::XML::ClassMethods
- Defined in:
- lib/representable/xml.rb
Instance Method Summary collapse
Instance Method Details
#collection_representer_class ⇒ Object
31 32 33 |
# File 'lib/representable/xml.rb', line 31 def collection_representer_class Collection end |
#format_engine ⇒ Object
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.[:remove_namespaces] = true end |