Sha256: 2b765e644575b06d401e90d15720c9feb20df31e70aa2d552d3816e6a7c175f9
Contents?: true
Size: 249 Bytes
Versions: 11
Compression:
Stored size: 249 Bytes
Contents
class HTTPTestClient class << self ; attr_accessor :body ; end Response = Struct.new(:body) do def code ; '200' ; end end def initialize(protocol, host) end def get(url) HTTPTestClient::Response.new(self.class.body) end end
Version data entries
11 entries across 11 versions & 1 rubygems