Sha256: 0df759fd8e390e738390116fbe1d4090f3d482adb1e70a12907cb3f85253a5b0

Contents?: true

Size: 291 Bytes

Versions: 5

Compression:

Stored size: 291 Bytes

Contents

module InsalesApi
  class Collect < Base
    def self.group_create product_ids, collection_ids
      connection.post("/admin/collects/group_create.xml", {:collection_ids => Array(collection_ids), :product_ids => Array(product_ids)}.to_xml(:root => :group_create), headers)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
insales_api-0.0.13 lib/insales_api/collect.rb
insales_api-0.0.10 lib/insales_api/resources/collect.rb
insales_api-0.0.9 lib/insales_api/resources/collect.rb
insales_api-0.0.8 lib/insales_api/resources/collect.rb
insales_api-0.0.7 lib/insales_api/resources/collect.rb