Sha256: ac85aee934f0913e39b37d3920ea69fa38027a0ddd47ad67a2a4e4e06ca0ae91
Contents?: true
Size: 1.14 KB
Versions: 32
Compression:
Stored size: 1.14 KB
Contents
module GoTransverseTractApi module Order class ProductRelation class << self # # @param {Long} eid # @param {Hash} options # def 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 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 # # @param {String} type # @param {Hash} options # def find_by_type type, options={} return nil unless type.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({type: type}, options) GoTransverseTractApi.get_response_for(self, params) end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems