Sha256: 961bb5011b7055bf07b8b833a3f2709011c96a6302b71d2a1aae391a3fbe0a07
Contents?: true
Size: 1.3 KB
Versions: 32
Compression:
Stored size: 1.3 KB
Contents
module GoTransverseTractApi module Product class ProductTag # # @param {Hash} options # def self.find_all options={} params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options) GoTransverseTractApi.get_response_for(self, params) end # # @param {String} name # @param {Hash} options # def self.find_by_name name, option={} return nil unless name.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({name: name}, options) GoTransverseTractApi.get_response_for(self, params) end # # @param {Long} eid # @param {Hash} options # def self.find_by_eid eid, options={} return nil unless eid.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options) GoTransverseTractApi.get_response_for(self, params) end # # @param {Long} product_eid # @param {Hash} options # def self.find_by_product_eid product_eid, options={} return nil unless product_eid.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options) GoTransverseTractApi.get_response_for(self, params) end end end end
Version data entries
32 entries across 32 versions & 1 rubygems