Module: BWAPI::Client::CommandCenter::ColourPalette

Included in:
BWAPI::Client::CommandCenter
Defined in:
lib/bwapi/client/command_center/colour_palette.rb

Overview

ColourPalette module for commandcenter/colourPalette endpoints

Instance Method Summary collapse

Instance Method Details

#colour_paletteObject

Get the colour palette for the current client

TODO: Add parameters documentation



9
10
11
# File 'lib/bwapi/client/command_center/colour_palette.rb', line 9

def colour_palette
  get '/commandcenter/colourPalette'
end

#update_colour_palette(opts = {}) ⇒ Object

Update the colour palette for the current client

TODO: Add parameters documentation



16
17
18
# File 'lib/bwapi/client/command_center/colour_palette.rb', line 16

def update_colour_palette(opts = {})
  put '/commandcenter/colourPalette', opts
end