# File lib/relevance/tarantula/link.rb, line 69 def meth @meth ||= begin (@tag && [:put, :delete, :post, :patch].detect do |m| # post should be last since it's least specific @tag['onclick'] =~ METHOD_REGEXPS[m] || @tag['data-method'] == m.to_s.downcase end) || :get end end