Class: GW2::API::Color

Inherits:
Object
  • Object
show all
Defined in:
lib/gw2/api/color.rb

Class Method Summary collapse

Class Method Details

.allObject



7
8
9
# File 'lib/gw2/api/color.rb', line 7

def self.all
  return call_api
end

.where(params = {}) ⇒ Object



11
12
13
14
# File 'lib/gw2/api/color.rb', line 11

def self.where params={}
  params[:ids] ||= 'all'
  return call_api params
end