Sha256: 9925a3f02dca89b6128c3f2086ab9920998a4d2ea3371d07e53c3e020370d24f

Contents?: true

Size: 160 Bytes

Versions: 4

Compression:

Stored size: 160 Bytes

Contents

module EsHttpClient

  class Ref < Struct.new(:uri, :etag)

    def self.head_of(stream_name)
      Ref.new("/streams/#{stream_name}", nil)
    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
es-http-client-0.2.0 lib/es_http_client/ref.rb
es-http-client-0.1.2 lib/es_http_client/ref.rb
es-http-client-0.1.1 lib/es_http_client/ref.rb
es-http-client-0.1.0 lib/es_http_client/ref.rb