Class: PersistentAttachments::PensionBurial

Inherits:
PersistentAttachment
  • Object
show all
Defined in:
app/models/persistent_attachments/pension_burial.rb

Constant Summary collapse

UPLOAD_TO_API_EMAILS =
%w[
  [email protected]
].freeze

Instance Method Summary collapse

Instance Method Details

#can_upload_to_api?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/models/persistent_attachments/pension_burial.rb', line 12

def can_upload_to_api?
  UPLOAD_TO_API_EMAILS.include?(saved_claim.email)
end