class TimeDoctor::Auth

Attributes

config[R]

Public Class Methods

new(config) click to toggle source
# File lib/timedoctor/auth.rb, line 3
def initialize(config)
  @config = Config.new(config)
end

Public Instance Methods

fetch_token() click to toggle source
# File lib/timedoctor/auth.rb, line 9
def fetch_token
  TimeDoctor::Token.new(config).fetch
end