links = @representor_hash[:links] || [] #ensures that there is something there

That being said, this is better:
```ruby 
      links = @representor_hash[:links] || []
      links = links.map { |k,v| { k => {href: v } } }
      @meta_links ||= get_transitions(links)
```