-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Burial 97131 ZSF Notification Callback (#20410)
- Loading branch information
1 parent
edc06ed
commit 271d768
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'burials/monitor' | ||
require 'veteran_facing_services/notification_callback/saved_claim' | ||
|
||
module Burials | ||
# @see ::VeteranFacingServices::NotificationCallback::SavedClaim | ||
class NotificationCallback < ::VeteranFacingServices::NotificationCallback::SavedClaim | ||
private | ||
|
||
# the monitor to be used | ||
# @see Burials::Monitor | ||
def monitor | ||
@monitor ||= Burials::Monitor.new | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'burials/monitor' | ||
require 'burials/notification_callback' | ||
|
||
# relative to `spec` folder | ||
require 'rails_helper' | ||
require 'lib/veteran_facing_services/notification_callback/shared/saved_claim' | ||
|
||
RSpec.describe Burials::NotificationCallback do | ||
it_behaves_like 'a SavedClaim Notification Callback', Burials::NotificationCallback, Burials::Monitor | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters