lib/excon/hypermedia/middlewares/hypertext_cache_pattern.rb in excon-hypermedia-0.5.1 vs lib/excon/hypermedia/middlewares/hypertext_cache_pattern.rb in excon-hypermedia-0.5.2
- old
+ new
@@ -37,10 +37,10 @@
def relation_name
datum.dig(:hcp_params, :relation)
end
def embedded
- datum.dig(:hcp_params, :embedded)
+ datum.dig(:hcp_params, :embedded).to_h
end
def content_type_header
return {} unless (header = datum.dig(:hcp_params, :content_type))