Sha256: c5b8e3b1fa000a7b5bffdf762e2894f7c0faf4dc3e5a66cca92a2b769ba16ba7
Contents?: true
Size: 1.38 KB
Versions: 32
Compression:
Stored size: 1.38 KB
Contents
module GoTransverseTractApi module Usage class GlobalUsageRule class << self # # @param {Hash} options # def find_all options={} params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options) GoTransverseTractApi.get_response_for(self, params) end # # @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 {Boolean} is_global # @param {Hash} options # def find_by_is_global is_global, options={} return nil unless is_global.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({is_global: is_global}, options) GoTransverseTractApi.get_response_for(self, params) end # # @param {String} status # @param {Hash} options # def find_by_status status, options={} return nil unless status.present? params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options) GoTransverseTractApi.get_response_for(self, params) end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems