Typhoreus gem を使用して SEOMoz API を使用しています。API で認証 (署名付き認証) を行うには、次のコードを使用します。
url = "http://lsapi.seomoz.com/linkscape/url-metrics/"+website.url.strip+"?Cols=103079231520"
response = Typhoeus::Request.get(url, :username => "member-xxxxxxx", :password => "abcxyzwhatever")
To which I get the error: Ethon::Errors::InvalidOption: The option: username is invalid.
Please try userpwd instead of username.
ユーザー名を userpwd に変更すると、パスワードも userpwd に変更するよう求められます。
どこが間違っていますか?