Class: Facilities::PSSGDownload

Inherits:
Object
  • Object
show all
Includes:
SentryLogging, Sidekiq::Job
Defined in:
app/sidekiq/facilities/pssg_download.rb

Instance Method Summary collapse

Methods included from SentryLogging

#log_exception_to_sentry, #log_message_to_sentry, #non_nil_hash?, #normalize_level, #rails_logger

Instance Method Details

#performObject



12
13
14
15
16
17
18
19
# File 'app/sidekiq/facilities/pssg_download.rb', line 12

def perform
  @drivetime_band_client = Facilities::DrivetimeBands::Client.new
  begin
    download_data
  rescue => e
    log_exception_to_sentry(e)
  end
end