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