Browse files

I mispelled the variable name in simple_query/simple_post_query

I didn't write specs for that, because I want to deprecate those methods.
  • Loading branch information...
1 parent e9061a4 commit 7c6ad9e5ee6861606ddabae7edf20d54db58ca41 @libc committed Mar 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/viadeo/api/query_methods.rb
View
4 lib/viadeo/api/query_methods.rb
@@ -14,7 +14,7 @@ def search_user(access_token, args)
def simple_query(access_token, path, args)
puts "simple_query(#{access_token}, #{path}, #{args})"
- response = get path, {access_token: access_token}.merge(args)
+ resp = get path, {access_token: access_token}.merge(args)
puts "Viadeo :: resp=#{resp.inspect}"
@@ -24,7 +24,7 @@ def simple_query(access_token, path, args)
def simple_post_query(access_token, path, args, post_data = "")
puts "simple_post_query(#{access_token}, #{path}, #{args})"
- response = post path, {access_token: access_token}.merge(args), post_data
+ resp = post path, {access_token: access_token}.merge(args), post_data
puts "Viadeo :: resp=#{resp.inspect}"

0 comments on commit 7c6ad9e

Please sign in to comment.