class Kaseya::BMS::Client::Locations
Public Instance Methods
all(params = {})
click to toggle source
# File lib/kaseya/bms/client/locations.rb, line 3 def all(params = {}) get_many "crm/locations", params end
delete(id)
click to toggle source
# File lib/kaseya/bms/client/locations.rb, line 19 def delete(id) delete "crm/locations/#{id}" end
find(id)
click to toggle source
# File lib/kaseya/bms/client/locations.rb, line 7 def find(id) get_one "crm/locations/#{id}" end
new(params = {})
click to toggle source
# File lib/kaseya/bms/client/locations.rb, line 11 def new(params = {}) post "crm/locations", params end
update(id, params = {})
click to toggle source
# File lib/kaseya/bms/client/locations.rb, line 15 def update(id, params = {}) put "crm/locations/#{id}", params end