Class: Calendav::Credentials::Google

Inherits:
Standard
  • Object
show all
Defined in:
lib/calendav/credentials/google.rb

Instance Attribute Summary

Attributes inherited from Standard

#authentication, #host, #password, #username

Instance Method Summary collapse

Constructor Details

#initialize(username:, password:) ⇒ Google

Returns a new instance of Google.



11
12
13
14
15
16
17
18
# File 'lib/calendav/credentials/google.rb', line 11

def initialize(username:, password:)
  super(
    host: "https://apidata.googleusercontent.com/caldav/v2/",
    username: username,
    password: password,
    authentication: :bearer_token
  )
end