2019-05-11 16:53:37 +01:00
|
|
|
module Jobs
|
2019-05-19 14:56:17 +01:00
|
|
|
class RefreshApiAccessToken < Jobs::Base
|
2019-05-11 16:53:37 +01:00
|
|
|
def execute(args)
|
2019-06-02 20:54:31 +10:00
|
|
|
CustomWizard::Api::Authorization.refresh_token(args[:name])
|
2019-05-11 16:53:37 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|