{"size": 357, "ext": "js", "max_stars_repo_path": "resources/assets/js/services/RoleService.js", "max_stars_repo_name": "pchaow/pigfarmServer", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/assets/js/services/RoleService.js", "max_issues_repo_name": "pchaow/pigfarmServer", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/assets/js/services/RoleService.js", "max_forks_repo_name": "pchaow/pigfarmServer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.5217391304, "max_line_length": 53, "alphanum_fraction": 0.4649859944}
export default {

    getRoles() {
        return axios.get("/api/roles?paginate=false")
    },
    getPaginate(form) {
        return axios.get("/api/roles", {
            params: form
        })
    },
    getById(id) {
        return axios.get("/api/roles/" + id)
    },
    store(form) {

    },
    update(form, id) {

    },
    destroy(id) {

    }
}