Exemple #1
0
def rules_id_or_alias_delete(id_or_alias):
    """DELETE /rules/:id"""
    return SingleRuleView().delete(id_or_alias)
Exemple #2
0
def rules_id_or_alias_post(id_or_alias):
    """POST /rules/:id"""
    return SingleRuleView().post(id_or_alias)
Exemple #3
0
def rules_id_or_alias_put(id_or_alias):
    """PUT /rules/:id"""
    return SingleRuleView().put(id_or_alias)
Exemple #4
0
def rules_id_or_alias_get(id_or_alias):
    """GET /rules/:id"""
    return SingleRuleView().get(id_or_alias)