Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 13:52:54 +01:00
7 Zeilen
174 B
Ruby
7 Zeilen
174 B
Ruby
module Jobs
|
|
class RefreshApiAccessToken < ::Jobs::Base
|
|
def execute(args)
|
|
CustomWizard::Api::Authorization.get_token(args[:name], refresh: true)
|
|
end
|
|
end
|
|
end
|