Class: SignalWire::REST::Namespaces::CompatTokens
Overview
Compat API token management.
Instance Method Summary
collapse
#initialize
Instance Method Details
#create(**kwargs) ⇒ Object
199
|
# File 'lib/signalwire/rest/namespaces/compat.rb', line 199
def create(**kwargs) = @http.post(@base_path, kwargs)
|
#delete(token_id) ⇒ Object
201
|
# File 'lib/signalwire/rest/namespaces/compat.rb', line 201
def delete(token_id) = @http.delete(_path(token_id))
|
#update(token_id, **kwargs) ⇒ Object
200
|
# File 'lib/signalwire/rest/namespaces/compat.rb', line 200
def update(token_id, **kwargs) = @http.patch(_path(token_id), kwargs)
|