lib/hal_client/curie_resolver.rb
# Initialize new CurieResolver
#
# curie_defs - Array of curie definition links (per the HAL spec)
Initialize new CurieResolver
curie_defs - Array of curie definition links (per the HAL spec)
Initialize new CurieResolver curie_defs - Array of curie definition links ( per the HAL spec )
def interpret(curie_defs)
      Hash[curie_defs.map{|it|
             [it["name"], Addressable::Template.new(it["href"])]
           }]
    end
def interpret ( curie_defs ) Hash [ curie_defs . map { | it | [ it [ "name" ] , Addressable :: Template . new ( it [ "href" ] ) ] } ] end
Initialize new CurieResolver
curie_defs - Array of curie definition links (per the HAL spec)
Initialize new CurieResolver curie_defs - Array of curie definition links ( per the HAL spec )
curie_defs
<not_specific>