mmornati/kerberosio-hooks

View on GitHub
plugins/routes.js

Summary

Maintainability
A
0 mins
Test Coverage
class AbstractRoutes {

  constructor(url, getCode, postCode) {
    this.url = url;
    this.GET = getCode;
    this.POST = postCode;
  }

  getUrl() {
    return this.url;
  }

  getGetCode() {
    return this.GET;
  }

  getPostCode() {
    return this.POST;
  }

}

module.exports = AbstractRoutes;