1
0
Fork 0
discourse-custom-wizard-unl.../jobs/refresh_api_access_token.rb
2019-10-03 15:17:21 +10:00

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