(key *ari.Key)
| 41 | } |
| 42 | |
| 43 | func (a *asteriskVariables) Get(key *ari.Key) (ret string, err error) { |
| 44 | data, err := a.c.dataRequest(&proxy.Request{ |
| 45 | Kind: "AsteriskVariableGet", |
| 46 | Key: key, |
| 47 | }) |
| 48 | if err != nil { |
| 49 | return "", err |
| 50 | } |
| 51 | return data.Variable, err |
| 52 | } |
| 53 | |
| 54 | func (a *asteriskVariables) Set(key *ari.Key, val string) (err error) { |
| 55 | return a.c.commandRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected