Sha256: 56b86a050771b18be316f7318caa47136ce1266e8fbc72451ebd329a2a1457de
Contents?: true
Size: 304 Bytes
Versions: 9
Compression:
Stored size: 304 Bytes
Contents
module KrakenClient module Requests class Get < Base def call(url, params, *) super HTTParty.get(url, query: parsed_params(params)) end private def parsed_params(params) params.is_a?(Hash) ? params : { pair: params } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems