Sha256: 5fcc15b9e2627b1d8fce7020c923dfb19e79db3a5f3fef39efb2b6778de8c0a4
Contents?: true
Size: 202 Bytes
Versions: 9
Compression:
Stored size: 202 Bytes
Contents
require 'rest_client' require 'singleton' module NicoAPI class HttpClient include Singleton def set_params(uri) @uri = uri end def get RestClient.get @uri.to_s end end end
Version data entries
9 entries across 9 versions & 3 rubygems