Sha256: 0af67fa1cf07b1dceec1420516fdf136f60a50d5560eddafdd0b43dc291d6aa5

Contents?: true

Size: 645 Bytes

Versions: 22

Compression:

Stored size: 645 Bytes

Contents

module GoTransverseTractApi

  module Product

    class DiscountCategory

      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 find_by_status status
        GoTransverseTractApi.get_response_for(self, {status: status})
      end

    end

  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.1.12 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.1.11 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.1.10 lib/gotransverse-tract-api/product/discount_category.rb
gotransverse-tract-api-0.1.9 lib/gotransverse-tract-api/product/discount_category.rb