Module: BookingSync::Engine::Models::Account

Extended by:
ActiveSupport::Concern
Includes:
BaseAccount
Defined in:
lib/bookingsync/engine/models/account.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from BaseAccount

#api, #clear_token!, #refresh_token!, #token, #update_token

Instance Method Details

#applicationObject


39
40
41
# File 'lib/bookingsync/engine/models/account.rb', line 39

def application
  nil
end

#application_tokenObject


31
32
33
# File 'lib/bookingsync/engine/models/account.rb', line 31

def application_token
  BookingSync::Engine.application_token
end

#oauth_clientObject


35
36
37
# File 'lib/bookingsync/engine/models/account.rb', line 35

def oauth_client
  BookingSync::Engine.oauth_client
end