Class: GovFakeNotify::FilesApp

Inherits:
Roda
  • Object
show all
Defined in:
lib/gov_fake_notify/files_app.rb

Overview

Serves all attachment files

Instance Method Summary collapse

Instance Method Details

#base_urlObject



37
38
39
# File 'lib/gov_fake_notify/files_app.rb', line 37

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