Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 7c6ad9e5ee6861606ddabae7edf20d54db58ca41 1 parent e9061a4
Eugene Pimenov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/viadeo/api/query_methods.rb
4 lib/viadeo/api/query_methods.rb
View
@@ -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}"
Please sign in to comment.
Something went wrong with that request. Please try again.