lib/mambanation/base.rb in mambanation-0.1.22 vs lib/mambanation/base.rb in mambanation-0.1.23
- old
+ new
@@ -22,10 +22,10 @@
def famous(query = {})
perform_get("/users/famous.json", :query => query)
end
def current_user(query = {})
- perform_get("/users/me", :query => query) unless fbs_cookies.nil?
+ perform_get("/users/me", :query => query) unless @fbs_cookies.nil?
end
def user_by_facebook_id(facebook_id, query = {})
perform_get("/users/find_by?facebook_id=#{facebook_id.to_i}", :query => query)
end