Class: Zaikio::JWTAuth::DirectoryCache::UpdateJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/zaikio/jwt_auth/directory_cache.rb

Overview

rubocop:disable Rails/ApplicationJob

Instance Method Summary collapse

Instance Method Details

#perform(directory_path) ⇒ Object



9
10
11
12
# File 'lib/zaikio/jwt_auth/directory_cache.rb', line 9

def perform(directory_path)
  DirectoryCache.fetch(directory_path)
  true # This job will always re-queue until it succeeds.
end