rushie v0.1.1 Rushie
API for Rushie
Link to this section Summary
Functions
Download a specific file from a Rushfile share.
local_file
is the full path to write the file locally
List all files in a Rushfiles share
Login to Rushfiles. You need to login before you can actually do anything with Rushie. Most other Rushie functions need a login struct as first argument
Upload a file to a Rushfiles share
Link to this section Functions
Link to this function
download_file(login, share, file, local_file)
download_file(login :: Rushie.Login.t, share :: Rushie.ManagedShare.t, file :: Rushie.FileMeta.t, local_file :: String.t) :: :ok | {:error, any}
Download a specific file from a Rushfile share.
local_file
is the full path to write the file locally.
Link to this function
file_event(login, event_type, share, file_data)
Internal.
event_type: 0 = create
Link to this function
httpoison_options()
Link to this function
list_files(login, share)
list_files(login :: Rushie.Login.t, share :: Rushie.ManagedShare.t) :: {:ok, [Rushie.FileMeta.t]} | {:error, any}
List all files in a Rushfiles share
Link to this function
login(domain, email, password)
login(domain :: String.t, email :: String.t, password :: String.t) :: {:ok, Rushie.Login.t} | {:error, any}
Login to Rushfiles. You need to login before you can actually do anything with Rushie. Most other Rushie functions need a login struct as first argument.
Link to this function
parse_file_event(body)
Link to this function
parse_list_response(body)
Link to this function
parse_put_file(body)
Link to this function
put_file(login, url, data)
Link to this function
upload_file(login, share, file_path, target_filename \\ nil)
Upload a file to a Rushfiles share