Permalink
Browse files

explicit cast to string to prevent error

  • Loading branch information...
1 parent 12a4f76 commit 92bec844cdb2791a5b0487b2f31467b9e87f2ab1 @mkdynamic committed Sep 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/omnicontacts/importer/yahoo.rb
@@ -36,7 +36,7 @@ def contacts_req_params access_token, access_token_secret, contacts_path
:oauth_token => access_token,
:oauth_version => OmniContacts::Authorization::OAuth1::OAUTH_VERSION,
:view => "compact",
- :count => @max_results
+ :count => @max_results.to_s
}
contacts_url = "http://#{@contacts_host}#{contacts_path}"
params["oauth_signature"] = oauth_signature("GET", contacts_url, params, access_token_secret)

0 comments on commit 92bec84

Please sign in to comment.