# File lib/sawyer/relation.rb, line 92 def self.from_link(agent, name, options) case options when Hash new agent, name, options[:href], options[:method] when String new agent, name, options end end