Sha256: 0c1c4647b7489a3f5c260f085703852386453562b6237a9333d1cc55ff0a131d

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

module InsalesApi
  class Category < Base
    def self.set_products_category new_category_id, product_ids
      connection.put("/admin/categories/set_products_category.xml", {:id => new_category_id, :product_ids => Array(product_ids)}.to_xml(:root => :new_category), headers)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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