Class: GovFakeNotify::NotificationsApp

Inherits:
Roda
  • Object
show all
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_urlObject



54
55
56
# File 'lib/gov_fake_notify/notifications_app.rb', line 54

def base_url
  request.url.gsub(%r{/v\d+/.*}, '')
end