lib/mrkt/concerns/crud_custom_objects.rb in mrkt-1.0.0 vs lib/mrkt/concerns/crud_custom_objects.rb in mrkt-1.0.1
- old
+ new
@@ -1,9 +1,9 @@
module Mrkt
module CrudCustomObjects
def get_list_of_custom_objects(names = nil)
params = {}
- params[:names] = names.join(',') if names
+ params[:names] = names if names
get('/rest/v1/customobjects.json', params)
end
def describe_custom_object(name)