Class: Roar::JSON::HAL::Links::SingleLink::Representer
- Inherits:
-
Representable::Decorator
- Object
- Representable::Decorator
- Roar::JSON::HAL::Links::SingleLink::Representer
- Includes:
- Representable::JSON::Hash
- Defined in:
- lib/roar/json/hal.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
103 104 105 106 |
# File 'lib/roar/json/hal.rb', line 103 def to_hash(*) hash = super {hash.delete("rel").to_s => hash} end |