Sha256: 4add7f6b5669830ecbecac181c816f58976dc7e3529e8de1a9a4b267f7435dc2

Contents?: true

Size: 420 Bytes

Versions: 49

Compression:

Stored size: 420 Bytes

Contents

module GoTransverseTractApi

  module Product

    class ProductCategory < DiscountCategory
      def self.get_product_category(product_category)
        product_category = {
          name: product_category[:name],
          description: product_category[:description],
          status: product_category[:status],
          eid: product_category[:eid]
        }

        product_category
      end
    end

  end

end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/product/product_category.rb