Module: Roar::Representer::JSON::HAL::Links::LinkArrayRepresenter
- Includes:
- Representable::JSON::Collection
- Defined in:
- lib/roar/representer/json/hal.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
175 176 177 178 179 |
# File 'lib/roar/representer/json/hal.rb', line 175 def to_hash(*) super.tap do |ary| ary.each { |lnk| rel = lnk.delete(:rel) } end end |