Class: GW2::API::World
- Inherits:
-
Object
- Object
- GW2::API::World
- Defined in:
- lib/gw2/api/world.rb
Class Method Summary collapse
Class Method Details
.all ⇒ Object
7 8 9 |
# File 'lib/gw2/api/world.rb', line 7 def self.all #TODO: Implement end |
.where(ids = []) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/gw2/api/world.rb', line 11 def self.where ids=[] #TODO: Implement params = {} if ids.any? params[:ids] = '' ids.each { |item| params[:ids] = "#{params[:ids]},#{item}"} end response = call_api params return response end |