Class: GovFakeNotify::FilesApp
- Inherits:
-
Roda
- Object
- Roda
- GovFakeNotify::FilesApp
- Defined in:
- lib/gov_fake_notify/files_app.rb
Overview
Serves all attachment files
Instance Method Summary collapse
Instance Method Details
#base_url ⇒ Object
37 38 39 |
# File 'lib/gov_fake_notify/files_app.rb', line 37 def base_url request.url.gsub(%r{/v\d+/.*}, '') end |