lib/transcriber/resource/response/embeddable.rb in transcriber-0.0.6 vs lib/transcriber/resource/response/embeddable.rb in transcriber-0.0.7

- old
+ new

@@ -6,10 +6,10 @@ return {} unless visible?(parent) resource = nil if embedded = parent.__send__(name) - resource = raw? ? resourcify(embedded) : embedded + resource = raw? ? embedded : resourcify(embedded) elsif many? resource = [] end {name => resource}