Class: GcalMapper::Authentification::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/gcal_mapper/authentification/base.rb

Overview

Base class for authentification methods

Direct Known Subclasses

Assertion, Oauth2

Instance Method Summary collapse

Instance Method Details

#access_tokenObject

raise error if this method is called -> mean that child class has not implemeted this method

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/gcal_mapper/authentification/base.rb', line 9

def access_token
  raise NotImplementedError
end

#refresh_tokenObject

raise error if this method is called -> mean that child class has not implemeted this method

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/gcal_mapper/authentification/base.rb', line 14

def refresh_token
  raise NotImplementedError
end