From be1e5dda23b5bac86898ac548ca1ecd2e6a3fb08 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 2 May 2019 11:29:43 +0200 Subject: Public API documentation --- lib/Travelynx/Controller/Api.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Travelynx/Controller/Api.pm') 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) = @_; -- cgit v1.2.3