Sha256: 2157413fbbfa5d2499afc99f98491bb2b417dc9e194aba0de9dfcd75a80a600e
Contents?: true
Size: 335 Bytes
Versions: 4
Compression:
Stored size: 335 Bytes
Contents
module InsalesApi class Collect < Base class << self def group_create(product_ids, collection_ids) data = { collection_ids: Array(collection_ids), product_ids: Array(product_ids), } post(:group_create, {}, format.encode(data, root: :group_create)) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
insales_api-0.1.3 | lib/insales_api/collect.rb |
insales_api-0.1.2 | lib/insales_api/collect.rb |
insales_api-0.1.1 | lib/insales_api/collect.rb |
insales_api-0.1.0 | lib/insales_api/collect.rb |