View Source CalDAVClient.Calendar (caldav_client v2.0.0)

Allows for managing calendars on the calendar server.

Link to this section Summary

Link to this section Functions

Link to this function

create(caldav_client, calendar_url, opts \\ [])

View Source

Specs

create(CalDAVClient.Client.t(), calendar_url :: String.t(), opts :: keyword()) ::
  :ok | {:error, any()}

Creates a calendar (see RFC 4791, section 5.3.1.2).

options

Options

  • name - calendar name.
  • description - calendar description.
Link to this function

delete(caldav_client, calendar_url)

View Source

Specs

delete(CalDAVClient.Client.t(), calendar_url :: String.t()) ::
  :ok | {:error, any()}

Deletes a specific calendar.

Link to this function

update(caldav_client, calendar_url, opts \\ [])

View Source

Specs

update(CalDAVClient.Client.t(), calendar_url :: String.t(), opts :: keyword()) ::
  :ok | {:error, any()}

Updates a specific calendar.

options

Options

  • name - calendar name.
  • description - calendar description.