module Calendav
Constants
- Error
- NAMESPACES
- PROVIDERS
- PreconditionError
Public Class Methods
client(credentials)
click to toggle source
# File lib/calendav.rb, line 19 def self.client(credentials) Client.new(credentials) end
credentials(provider, username, password)
click to toggle source
# File lib/calendav.rb, line 15 def self.credentials(provider, username, password) PROVIDERS.fetch(provider).new(username: username, password: password) end