mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +01:00
Update root API response
This commit is contained in:
parent
30cda9b048
commit
60fc23f4e2
@ -38,7 +38,12 @@ module Web
|
|||||||
response.cache_control(public: true, max_age: 900)
|
response.cache_control(public: true, max_age: 900)
|
||||||
|
|
||||||
r.root do
|
r.root do
|
||||||
{ docs: "https://www.frankfurter.app/docs" }
|
{
|
||||||
|
name: "Frankfurter",
|
||||||
|
description: "A currency data API",
|
||||||
|
docs: "https://frankfurter.dev",
|
||||||
|
source: "https://github.com/hakanensari/frankfurter",
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
r.is(/latest|current/) do
|
r.is(/latest|current/) do
|
||||||
|
Loading…
Reference in New Issue
Block a user