diff --git a/index.js b/index.js index c7bf0c1..225603b 100644 --- a/index.js +++ b/index.js @@ -44,7 +44,15 @@ class Lottus { } info(location, result){ - this.information(location, result); + return this.information(location, result); + } + + get(location, result){ + return this.info(location, result); + } + + post(location, result){ + return this.form(location, result); } form(location, result){ @@ -63,6 +71,8 @@ class Lottus { at(location, info, proc){ this.info(location, info); this.form(location, proc); + + return this; } get_processor(route_type, location){