Sha256: 6f1a6f9ecb1cd802013e0fadb37e7ef51b12aa91d7384ec89de40e4c0d52e56b
Contents?: true
Size: 863 Bytes
Versions: 30
Compression:
Stored size: 863 Bytes
Contents
module GoTransverseTractApi module Order class BillCycle < Common::Base class << self # # @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 # # @param {String} currency_type # @param {Hash} options # def find_by_currency_type currency_type, options={} return nil unless currency_type.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({currency_type: currency_type}, options) GoTransverseTractApi.get_response_for(self, params) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems