gocarrot 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gocarrot.rb +1 -1
- metadata +1 -1
data/lib/gocarrot.rb
CHANGED
@@ -40,7 +40,7 @@ class Carrot
|
|
40
40
|
# @param uuid [String] a per-user unique identifier or `nil` to use the value of {Carrot#uuid}. We suggest using email address or the Facebook 'third_party_id'.
|
41
41
|
#
|
42
42
|
# @return [Symbol] one of: `:authorized`, `:read_only`, `:not_authorized` or `:unknown`
|
43
|
-
def
|
43
|
+
def validate_user(access_token, uuid = @uuid)
|
44
44
|
http = Net::HTTP.new @hostname, 443
|
45
45
|
http.use_ssl = true
|
46
46
|
|