1
0
Fork 0
discourse-custom-wizard-unl.../jobs/refresh_api_access_token.rb

8 Zeilen
172 B
Ruby

2019-05-11 17:53:37 +02:00
module Jobs
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