Sha256: a2a0a562bf6bbf55966a27f0215570b0ed35fc611e72762fd64174cd1caf3108
Contents?: true
Size: 348 Bytes
Versions: 7
Compression:
Stored size: 348 Bytes
Contents
module HackerNewsSearch class Client module Request def get(path, options={}) request(:get, path, options) end private def request(method, path, options) response = connection.send(method) do |request| request.url(path, options) end response.body end end end end
Version data entries
7 entries across 7 versions & 1 rubygems