Commit 10d66f59 authored by Leigh B Stoller's avatar Leigh B Stoller

Add CreateAnonymous() (not tied to an object).

parent cef98ecb
......@@ -144,6 +144,16 @@ sub Create($$;$)
return WebTask->Lookup($task_id);
# Create an anonymous web task (not associated with an object). This
# is useful when using a webtask to create a new object via a backend
# script.
sub CreateAnonymous()
return WebTask->Create(TBGenSecretKey());
sub Delete($)
my ($self) = @_;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment