diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-02 11:29:43 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-02 11:29:43 +0200 |
commit | be1e5dda23b5bac86898ac548ca1ecd2e6a3fb08 (patch) | |
tree | 2b6b13448ba9349ae8fd15e6a56aacc9dd0c7ac4 /lib/Travelynx/Controller | |
parent | 0ef0024e35fc51966bd68b84cf1eb7b8003c1209 (diff) |
Public API documentation
Diffstat (limited to 'lib/Travelynx/Controller')
-rwxr-xr-x | lib/Travelynx/Controller/Api.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Api.pm b/lib/Travelynx/Controller/Api.pm index a0b8e07..889a0e3 100755 --- a/lib/Travelynx/Controller/Api.pm +++ b/lib/Travelynx/Controller/Api.pm @@ -8,6 +8,12 @@ sub make_token { return create_uuid_as_string(UUID_V4); } +sub documentation { + my ($self) = @_; + + $self->render('api_documentation'); +} + sub get_v0 { my ($self) = @_; |