Module: Representable::XML::ClassMethods
- Defined in:
- lib/representable/xml.rb
Instance Method Summary collapse
Instance Method Details
#collection_representer_class ⇒ Object
38 39 40 |
# File 'lib/representable/xml.rb', line 38 def collection_representer_class Collection end |
#format_engine ⇒ Object
34 35 36 |
# File 'lib/representable/xml.rb', line 34 def format_engine Representable::XML end |
#remove_namespaces! ⇒ Object
30 31 32 |
# File 'lib/representable/xml.rb', line 30 def remove_namespaces! representable_attrs.[:remove_namespaces] = true end |