Class: Calendly::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/calendly/configuration.rb

Overview

Calendly apis client configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



26
27
28
29
# File 'lib/calendly/configuration.rb', line 26

def initialize
  @logger = Logger.new $stdout
  @logger.level = :warn
end

Instance Attribute Details

#client_idString

Returns:

  • (String)


9
10
11
# File 'lib/calendly/configuration.rb', line 9

def client_id
  @client_id
end

#client_secretString

Returns:

  • (String)


12
13
14
# File 'lib/calendly/configuration.rb', line 12

def client_secret
  @client_secret
end

#loggerLogger

Returns:

  • (Logger)


24
25
26
# File 'lib/calendly/configuration.rb', line 24

def logger
  @logger
end

#refresh_tokenString

Returns:

  • (String)


18
19
20
# File 'lib/calendly/configuration.rb', line 18

def refresh_token
  @refresh_token
end

#tokenString

Returns:

  • (String)


15
16
17
# File 'lib/calendly/configuration.rb', line 15

def token
  @token
end

#token_expires_atInteger

Returns:

  • (Integer)


21
22
23
# File 'lib/calendly/configuration.rb', line 21

def token_expires_at
  @token_expires_at
end