Sha256: 2629052554208d3439f008b9de895189fe814159da5ecda23b2d58789b29d585

Contents?: true

Size: 391 Bytes

Versions: 27

Compression:

Stored size: 391 Bytes

Contents

module Magento
  # http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_type
  class ProductType < Base
    class << self
      # catalog_product_type.list
      # Retrieve product types
      # 
      # Return: array
      def list
        results = commit("list", nil)
        results.collect do |result|
          new(result)
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
magentor-0.3.1 lib/magento/product_type.rb
magentor-0.3.0 lib/magento/product_type.rb
magentor-0.2.18 lib/magento/product_type.rb
magentor-0.2.17 lib/magento/product_type.rb
magentor-0.2.16 lib/magento/product_type.rb
magentor-0.2.15 lib/magento/product_type.rb
magentor-0.2.14 lib/magento/product_type.rb
magentor-0.2.13 lib/magento/product_type.rb
magentor-0.2.12 lib/magento/product_type.rb
magentor-0.2.11 lib/magento/product_type.rb
magentor-0.2.10 lib/magento/product_type.rb
magentor-0.2.9 lib/magento/product_type.rb
magentor-0.2.8 lib/magento/product_type.rb
magentor-0.2.7 lib/magento/product_type.rb
magentor-0.2.6 lib/magento/product_type.rb
magentor-0.2.5 lib/magento/product_type.rb
magentor-0.2.4 lib/magento/product_type.rb
magentor-0.2.3 lib/magento/product_type.rb
magentor-0.2.2 lib/magento/product_type.rb
magentor-0.2.1 lib/magento/product_type.rb