class WebFinger::Response
Public Instance Methods
link_for(rel)
click to toggle source
# File lib/webfinger/response.rb, line 12 def link_for(rel) links.detect do |link| link[:rel] == rel end end
# File lib/webfinger/response.rb, line 12 def link_for(rel) links.detect do |link| link[:rel] == rel end end