Sha256: 8c6d6580e1afcf2ae226916549793ffde6773b8b7d4c75bd5411bc8d0bab5cf8
Contents?: true
Size: 390 Bytes
Versions: 7
Compression:
Stored size: 390 Bytes
Contents
module MnoEnterprise class ImpacClient include HTTParty def self.host "#{Settings.impac.protocol}://#{Settings.impac.host}" end def self.endpoint_url(endpoint, params) "#{File.join(host,endpoint)}?#{params.to_query}" end def self.send_get(endpoint, params, opts={}) url = endpoint_url(endpoint, params) get(url, opts) end end end
Version data entries
7 entries across 7 versions & 1 rubygems