Sha256: bf88679b4600672e757c721d9acc022bce663f91d9bd63e73004742e2e44bcc2
Contents?: true
Size: 482 Bytes
Versions: 3
Compression:
Stored size: 482 Bytes
Contents
module Radriar module Roar module HAL extend ActiveSupport::Concern included do module ::Roar::Representer::JSON::HAL::Resources def compile_fragment(bin, doc) embedded = bin[:embedded] return super unless embedded if Radriar::Representable.hypermedia? super(bin, doc[:_embedded] ||= {}) else super end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
radriar-0.1.0.alpha.3 | lib/radriar/roar/hal.rb |
radriar-0.1.0.alpha.2 | lib/radriar/roar/hal.rb |
radriar-0.1.0.alpha.1 | lib/radriar/roar/hal.rb |