module
CaidoMutations::Tamper
Defined in:
client/mutations.crClass Method Summary
-
.create_collection(name : String)
Create a tamper rule collection
-
.create_rule(name : String, condition : String, strategy : String, collection_id : String | Nil = nil)
Create a tamper rule
-
.delete_collection(collection_id : String)
Delete a tamper rule collection
-
.delete_rule(rule_id : String)
Delete a tamper rule
-
.move_rule(rule_id : String, collection_id : String)
Move a tamper rule to a collection
-
.rename_collection(collection_id : String, name : String)
Rename a tamper rule collection
-
.rename_rule(rule_id : String, name : String)
Rename a tamper rule
-
.toggle_rule(rule_id : String, enabled : Bool)
Toggle tamper rule enabled state
-
.update_rule(rule_id : String, name : String | Nil = nil, condition : String | Nil = nil, strategy : String | Nil = nil)
Update a tamper rule
Class Method Detail
def self.create_rule(name : String, condition : String, strategy : String, collection_id : String | Nil = nil)
#
Create a tamper rule
def self.update_rule(rule_id : String, name : String | Nil = nil, condition : String | Nil = nil, strategy : String | Nil = nil)
#
Update a tamper rule