Class: Jobs::ReceiveUnencryptedSalmon
- Inherits:
-
Base
- Object
- Base
- Jobs::ReceiveUnencryptedSalmon
show all
- Defined in:
- app/models/jobs/receive_unencrypted_salmon.rb
Constant Summary
Constant Summary
Constants inherited
from Base
Base::DUMB_ERROR_MESSAGES
Class Method Summary
(collapse)
Methods inherited from Base
suppress_annoying_errors
Class Method Details
11
12
13
14
15
16
17
18
19
|
# File 'app/models/jobs/receive_unencrypted_salmon.rb', line 11
def self.perform(xml)
begin
receiver = Postzord::Receiver::Public.new(xml)
receiver.perform!
rescue => e
FEDERATION_LOGGER.info(e.message)
raise e
end
end
|