gocarrot 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|