Sha256: 6dfa5cb79c0c6473572f5212740002d6f5f214cf343659b9f80011ef377191f9

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 Bytes

Contents

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

  attr_accessor :body

  # TODO: Modify once on 1.0.0
  def initialize(_protocol, _url = nil)
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
timezone-0.99.2 test/http_test_client.rb
timezone-0.99.1 test/http_test_client.rb
timezone-0.99.0 test/http_test_client.rb