Sha256: 2dc2d4da47d8b026269c7e8a3648b9a42a800a728963e69be28b33aacbf04763

Contents?: true

Size: 648 Bytes

Versions: 10

Compression:

Stored size: 648 Bytes

Contents

module GoTransverseTractApi

  module Product

    class ProductCategory

      def self.find_all
        GoTransverseTractApi.get_response_for(self)
      end

      #
      # @param {Long} eid
      #
      def self.find_by_eid eid
        GoTransverseTractApi.get_response_for(self, {eid: eid})
      end

      #
      # @param {String} name
      #
      def self.find_by_name name
        GoTransverseTractApi.get_response_for(self, {name: name})
      end

      #
      # @param {String} status
      #
      def self.find_by_status status
        GoTransverseTractApi.get_response_for(self, {status: status})
      end

    end

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.6 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.1.5 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.1.4 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.1.3 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.1.2 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.1.1 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.1.0 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.0.15 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.0.14 lib/gotransverse-tract-api/product/product_category.rb
gotransverse-tract-api-0.0.13 lib/gotransverse-tract-api/product/product_category.rb