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