summaryrefslogtreecommitdiff
path: root/lib/polyjuice/client/low_level.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/polyjuice/client/low_level.ex')
-rw-r--r--lib/polyjuice/client/low_level.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/polyjuice/client/low_level.ex b/lib/polyjuice/client/low_level.ex
index c4329c0..94dbcb6 100644
--- a/lib/polyjuice/client/low_level.ex
+++ b/lib/polyjuice/client/low_level.ex
@@ -153,6 +153,7 @@ defmodule Polyjuice.Client.LowLevel do
- `device_id`: the device ID
- `storage`: (required by sync) the storage backend to use (see
`Polyjuice.Client.Storage`)
+ - `application_service`: wether to connect as an application service
"""
@spec create(base_url :: String.t(), opts :: Keyword.t()) :: t()
def create(base_url, opts \\ []) when is_binary(base_url) do
@@ -164,6 +165,7 @@ defmodule Polyjuice.Client.LowLevel do
user_id: Keyword.get(opts, :user_id),
device_id: Keyword.get(opts, :device_id),
storage: Keyword.get(opts, :storage),
+ application_service: Keyword.get(opts, :application_service, false),
test: Keyword.get(opts, :test, false)
}
end