Class: WebFinger::Response
- Inherits:
-
ActiveSupport::HashWithIndifferentAccess
- Object
- ActiveSupport::HashWithIndifferentAccess
- WebFinger::Response
- Defined in:
- lib/webfinger/response.rb
Instance Method Summary collapse
Instance Method Details
#link_for(rel) ⇒ Object
12 13 14 15 16 |
# File 'lib/webfinger/response.rb', line 12 def link_for(rel) links.detect do |link| link[:rel] == rel end end |