Sha256: 1ae0a34af6687a557347fd476c8923ecfe5fb1c4d3d3af1cbd048c4353347ed9

Contents?: true

Size: 208 Bytes

Versions: 8

Compression:

Stored size: 208 Bytes

Contents

class HTTPTestClient
  Response = Struct.new(:body) do
    def code; '200'; end
  end

  attr_accessor :body

  def initialize(_config)
  end

  def get(_url)
    HTTPTestClient::Response.new(body)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
timezone-1.2.4 test/http_test_client.rb
timezone-1.2.3 test/http_test_client.rb
timezone-1.2.2 test/http_test_client.rb
timezone-1.2.1 test/http_test_client.rb
timezone-1.2.0 test/http_test_client.rb
timezone-1.1.1 test/http_test_client.rb
timezone-1.1.0 test/http_test_client.rb
timezone-1.0.0 test/http_test_client.rb