module BWAPI::Client::Client

Client module for client endpoints

Public Instance Methods

client() click to toggle source

Get the current users client

@return [Hash] Client information

# File lib/bwapi/client/client.rb, line 11
def client
  get 'client'
end
client_modules() click to toggle source

Get the current users client modules

@return [Hash] Client module information

# File lib/bwapi/client/client.rb, line 25
def client_modules
  get 'client/modules'
end
client_pricing(opts = {}) click to toggle source

Given a project id, retrieves the price structure associated with the client the project belongs to

TODO: Add parameters documentation

# File lib/bwapi/client/client.rb, line 32
def client_pricing(opts = {})
  get '/client/pricing', opts
end
client_subclients() click to toggle source

Get the current users client subclients

@return [Hash] All sub clients information for user's client

# File lib/bwapi/client/client.rb, line 18
def client_subclients
  get 'client/subclients'
end
client_usage() click to toggle source

Fetch usage report

TODO: Add parameters documentation

# File lib/bwapi/client/client.rb, line 39
def client_usage
  get '/client/usage'
end