1
0
Fork 0
discourse-custom-wizard-unl.../jobs/refresh_api_access_token.rb
2021-03-11 12:00:15 +05:30

8 Zeilen
204 B
Ruby

# frozen_string_literal: true
module Jobs
class RefreshApiAccessToken < ::Jobs::Base
def execute(args)
CustomWizard::Api::Authorization.get_token(args[:name], refresh: true)
end
end
end