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.24.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/product/product_category.rb