Ruby Hash of arrays iteration

I’m new to Ruby and i have a problem.

I make a RestClient.get on an url and i make a JSON parse on it.

response= RestClient.get ‘

response looks like this:
{“tag”=>[“one”, “two”, “three”], “name”=>“example”}

and i would like to have an array like this::

I can print all tags or names but not together, if someone can help me

h= {“tag”=>[“one”, “two”, “three”], “name”=>“example”}

res= h[‘tag’].map {|no| “#{name}-#{no}”}

p res
==> [“example-one”, “example-two”, “example-three”]