Sha256: fdf4c8bda80be283ad4733363be4892adef3d04b6baa517f8948d83df0ff9496
Contents?: true
Size: 235 Bytes
Versions: 4
Compression:
Stored size: 235 Bytes
Contents
require 'httparty' class HTTPartySekken include HTTParty read_timeout 3 * 60 def get(url) self.class.get(url).body end def post(url, headers, body) self.class.post(url, headers: headers, body: body).body end end
Version data entries
4 entries across 4 versions & 1 rubygems