Class: Almodovar::ResourcePresenter::Link::XmlSerializer
- Inherits:
-
Serializer
- Object
- Serializer
- Almodovar::ResourcePresenter::Link::XmlSerializer
- Defined in:
- lib/almodovar-server/resource_presenter/link.rb
Instance Attribute Summary
Attributes inherited from Serializer
Instance Method Summary collapse
Methods inherited from Serializer
#dont_expand_link!, #expands?, #initialize
Constructor Details
This class inherits a constructor from Almodovar::ResourcePresenter::Link::Serializer
Instance Method Details
#to_xml ⇒ Object
63 64 65 |
# File 'lib/almodovar-server/resource_presenter/link.rb', line 63 def to_xml builder.link link.attributes.merge(:rel => link.rel, :href => link.href), & end |