Class: GovFakeNotify::NotificationsApp
- Inherits:
-
Roda
- Object
- Roda
- GovFakeNotify::NotificationsApp
- Includes:
- CurrentService
- Defined in:
- lib/gov_fake_notify/notifications_app.rb
Overview
Serves all notifications resources
Instance Method Summary collapse
Methods included from CurrentService
#current_service, #validate_jwt
Instance Method Details
#base_url ⇒ Object
54 55 56 |
# File 'lib/gov_fake_notify/notifications_app.rb', line 54 def base_url request.url.gsub(%r{/v\d+/.*}, '') end |