class Morpheus::BillingInterface

Public Instance Methods

base_path() click to toggle source
# File lib/morpheus/api/billing_interface.rb, line 5
def base_path
  "/api/billing"
end
list(params={}) click to toggle source

this is an alias for /usage

# File lib/morpheus/api/billing_interface.rb, line 10
def list(params={})
  execute(method: :get, url: "#{base_path}", params: params)
end
list_account(params={}) click to toggle source
# File lib/morpheus/api/billing_interface.rb, line 14
def list_account(params={})
  execute(method: :get, url: "#{base_path}/account", params: params)
end
list_discovered_servers(params={}) click to toggle source
# File lib/morpheus/api/billing_interface.rb, line 30
def list_discovered_servers(params={})
  execute(method: :get, url: "#{base_path}/discoveredServers", params: params)
end
list_instances(params={}) click to toggle source
# File lib/morpheus/api/billing_interface.rb, line 22
def list_instances(params={})
  execute(method: :get, url: "#{base_path}/instances", params: params)
end
list_servers(params={}) click to toggle source
# File lib/morpheus/api/billing_interface.rb, line 26
def list_servers(params={})
  execute(method: :get, url: "#{base_path}/servers", params: params)
end
list_zones(params={}) click to toggle source
# File lib/morpheus/api/billing_interface.rb, line 18
def list_zones(params={})
  execute(method: :get, url: "#{base_path}/zones", params: params)
end