Sha256: 0259360baed5b194553967ed30b89955acb39bc80fe336307069b91a19459569
Contents?: true
Size: 1.49 KB
Versions: 32
Compression:
Stored size: 1.49 KB
Contents
module GoTransverseTractApi module GeneralLedger class GLAccount # # @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} general_ledger_eid # @param {Hash} options # def self.find_by_general_ledger_eid general_ledger_eid, options={} return nil unless general_ledger_general_ledger_eid.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({general_ledger_eid: general_ledger_eid}, options) GoTransverseTractApi.get_response_for(self, params) end # # @param {String} name # @param {Hash} options # def self.find_by_name name, options={} return nil unless name.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({name: name}, options) GoTransverseTractApi.get_response_for(self, params) end # # @param {String} account_num # @param {Hash} options # def self.find_by_account_num account_num, options={} return nil unless account_num.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({account_num: account_num}, options) GoTransverseTractApi.get_response_for(self, params) end end end end
Version data entries
32 entries across 32 versions & 1 rubygems