Class: Form526BackupSubmission::Service

Inherits:
BenefitsIntakeService::Service show all
Defined in:
lib/form526_backup_submission/service.rb

Overview

Proxy Service for the Lighthouse Claims Intake API Service. We are using it here to submit claims that cannot be auto-established, via paper submission (electronic PDF submissiont to CMP)

Constant Summary

Constants inherited from BenefitsIntakeService::Service

BenefitsIntakeService::Service::PDF_VALIDATOR_OPTIONS, BenefitsIntakeService::Service::REQUIRED_CREATE_HEADERS

Instance Attribute Summary

Attributes inherited from BenefitsIntakeService::Service

#location, #uuid

Instance Method Summary collapse

Methods inherited from BenefitsIntakeService::Service

#generate_metadata, #generate_tmp_metadata_file, #get_bulk_status_of_uploads, #get_file_path_from_objs, #get_location_and_uuid, #get_upload_docs, #get_upload_location, #initialize, #upload_deletion_logic, #upload_doc, #upload_form, #valid_document?, #validate_document

Methods included from Common::Client::Concerns::Monitoring

#increment, #increment_failure, #increment_total, #with_monitoring

Methods included from SentryLogging

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

Methods inherited from Common::Client::Base

#config, configuration, #connection, #delete, #get, #perform, #post, #put, #raise_backend_exception, #raise_not_authenticated, #request, #sanitize_headers!, #service_name

Constructor Details

This class inherits a constructor from BenefitsIntakeService::Service

Instance Method Details

#permanent_file?(file) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/form526_backup_submission/service.rb', line 20

def permanent_file?(file)
  file.include?('bdd_instructions.pdf')
end