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

Version Path
timezone-0.6.0 test/http_test_client.rb
timezone-0.5.0 test/http_test_client.rb
timezone-0.4.3 test/http_test_client.rb
timezone-0.4.2 test/http_test_client.rb
timezone-0.4.1 test/http_test_client.rb
timezone-0.4.0 test/http_test_client.rb
timezone-0.3.11 test/http_test_client.rb
timezone-0.3.10 test/http_test_client.rb
timezone-0.3.9 test/http_test_client.rb
timezone-0.3.8 test/http_test_client.rb
timezone-0.3.7 test/http_test_client.rb