fluminus v1.3.1 Fluminus.API.Module.Weblecture View Source

Provides an abstraction over a weblecture in LumiNUS, and operations possible on them using LumiNUS API.

Struct fields:

  • :id - id of the weblecture
  • :name - name of the weblecture
  • :module_id - the module_id to which the weblecture is from.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Fluminus.API.Module.Weblecture{
  id: String.t(),
  module_id: String.t(),
  name: String.t()
}

Link to this section Functions

Link to this function

download(weblecture, auth, path, verbose)

View Source
download(
  Fluminus.API.Module.Weblecture.t(),
  Fluminus.Authorization.t(),
  Path.t(),
  bool()
) :: :ok | {:error, :exists | any()}
Link to this function

get_download_url(weblecture, auth)

View Source
get_download_url(Fluminus.API.Module.Weblecture.t(), Fluminus.Authorization.t()) ::
  {:ok, String.t()} | {:error, any()}