Sha256: 6b54accdfdbdf69693749438f87e4c1096ff43230ec9d33d8c5cbb3b50003dc0
Contents?: true
Size: 1.03 KB
Versions: 27
Compression:
Stored size: 1.03 KB
Contents
module Magento # http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_category_attribute # 100 Requested store view not found. # 101 Requested attribute not found. class CategoryAttribute < Base class << self # catalog_category_attribute.list # Retrieve category attributes # # Return: array def list results = commit("list", nil) results.collect do |result| new(result) end end # catalog_category_attribute.currentStore # Set/Get current store view # # Return: int # # Arguments: # # mixed storeView - Store view ID or code. (optional) def current_store(*args) commit("currentStore", *args) end # catalog_category_attribute.options # Retrieve attribute options # # Arguments: # # attributeId - attribute id or code # storeView - store view id or code def options(*args) commit("options", *args) end end end end
Version data entries
27 entries across 27 versions & 1 rubygems