lib/fastly.rb in fastly-2.2.0 vs lib/fastly.rb in fastly-2.3.0
- old
+ new
@@ -78,12 +78,10 @@
fail AuthRequired unless authed?
@current_customer ||= get(Customer)
end
# Return a User object representing the current logged in user.
- # NOTE: requires you to be fully authed - will not work with only an API key
def current_user
- fail FullAuthRequired unless fully_authed?
@current_user ||= get(User)
end
# Purge the specified path from your cache.
def purge(url, soft=false)