MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / Set

Method Set

client/asterisk.go:54–62  ·  view source on GitHub ↗
(key *ari.Key, val string)

Source from the content-addressed store, hash-verified

52}
53
54func (a *asteriskVariables) Set(key *ari.Key, val string) (err error) {
55 return a.c.commandRequest(&proxy.Request{
56 Kind: "AsteriskVariableSet",
57 Key: key,
58 AsteriskVariableSet: &proxy.AsteriskVariableSet{
59 Value: val,
60 },
61 })
62}

Callers 2

TestAsteriskVariablesSetFunction · 0.80
asteriskVariableSetMethod · 0.80

Calls 1

commandRequestMethod · 0.80

Tested by 1

TestAsteriskVariablesSetFunction · 0.64