class WavefrontCli::ApiToken

CLI coverage for the v2 'derivedmetric' API.

Public Instance Methods

do_create() click to toggle source
# File lib/wavefront-cli/apitoken.rb, line 18
def do_create
  wf.create
end
do_list() click to toggle source
# File lib/wavefront-cli/apitoken.rb, line 14
def do_list
  wf.list
end
do_rename() click to toggle source
# File lib/wavefront-cli/apitoken.rb, line 22
def do_rename
  wf.rename(options[:'<id>'], options[:'<name>'])
end
validator_exception() click to toggle source
# File lib/wavefront-cli/apitoken.rb, line 10
def validator_exception
  Wavefront::Exception::InvalidApiTokenId
end