module EventStore::HTTP::MediaTypes::Atom::Links
Public Class Methods
set(target, links)
click to toggle source
# File lib/event_store/http/media_types/atom/links.rb, line 6 def self.set(target, links) links.each do |hash| uri = hash.fetch :uri relation = hash.fetch :relation target[relation.to_sym] = uri end end