module WOTC::Client::Locations
Defines methods related to locations
Public Instance Methods
all_locations()
click to toggle source
Get all locations
# File lib/wotc/client/locations.rb, line 6 def all_locations get("locations") end
create_location(options={})
click to toggle source
# File lib/wotc/client/locations.rb, line 10 def create_location(options={}) post("locations", options) end
delete_location(location_id)
click to toggle source
# File lib/wotc/client/locations.rb, line 18 def delete_location(location_id) delete("locations/#{location_id}") end
update_location(options={})
click to toggle source
# File lib/wotc/client/locations.rb, line 14 def update_location(options={}) put("locations", options) end