0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 17:30:29 +01:00
discourse-custom-wizard/jobs/refresh_api_access_token.rb

8 Zeilen
174 B
Ruby

2019-05-11 17:53:37 +02:00
module Jobs
2019-10-03 07:17:21 +02:00
class RefreshApiAccessToken < ::Jobs::Base
2019-05-11 17:53:37 +02:00
def execute(args)
CustomWizard::Api::Authorization.get_token(args[:name], refresh: true)
2019-05-11 17:53:37 +02:00
end
end
end