lib/insales_api/collect.rb in insales_api-0.1.3 vs lib/insales_api/collect.rb in insales_api-0.2.0
- old
+ new
@@ -2,10 +2,10 @@
class Collect < Base
class << self
def group_create(product_ids, collection_ids)
data = {
collection_ids: Array(collection_ids),
- product_ids: Array(product_ids),
+ product_ids: Array(product_ids),
}
post(:group_create, {}, format.encode(data, root: :group_create))
end
end
end