Class: Calendly::Configuration
- Inherits:
-
Object
- Object
- Calendly::Configuration
- Defined in:
- lib/calendly/configuration.rb
Overview
Calendly apis client configuration.
Instance Attribute Summary collapse
- #client_id ⇒ String
- #client_secret ⇒ String
- #logger ⇒ Logger
- #refresh_token ⇒ String
- #token ⇒ String
- #token_expires_at ⇒ Integer
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_id ⇒ String
9 10 11 |
# File 'lib/calendly/configuration.rb', line 9 def client_id @client_id end |
#client_secret ⇒ String
12 13 14 |
# File 'lib/calendly/configuration.rb', line 12 def client_secret @client_secret end |
#logger ⇒ Logger
24 25 26 |
# File 'lib/calendly/configuration.rb', line 24 def logger @logger end |
#refresh_token ⇒ String
18 19 20 |
# File 'lib/calendly/configuration.rb', line 18 def refresh_token @refresh_token end |
#token ⇒ String
15 16 17 |
# File 'lib/calendly/configuration.rb', line 15 def token @token end |
#token_expires_at ⇒ Integer
21 22 23 |
# File 'lib/calendly/configuration.rb', line 21 def token_expires_at @token_expires_at end |