9 lines
200 B
Ruby
9 lines
200 B
Ruby
class RemoteStorageExpireAuthorizationJob < ApplicationJob
|
|
queue_as :remotestorage
|
|
|
|
def perform(rs_auth_id)
|
|
rs_auth = RemoteStorageAuthorization.find rs_auth_id
|
|
rs_auth.destroy!
|
|
end
|
|
end
|