Class: EsHttpClient::Ref
- Inherits:
-
Struct
- Object
- Struct
- EsHttpClient::Ref
- Defined in:
- lib/es_http_client/ref.rb
Instance Attribute Summary collapse
-
#etag ⇒ Object
Returns the value of attribute etag.
-
#uri ⇒ Object
Returns the value of attribute uri.
Class Method Summary collapse
Instance Attribute Details
#etag ⇒ Object
Returns the value of attribute etag
3 4 5 |
# File 'lib/es_http_client/ref.rb', line 3 def etag @etag end |
#uri ⇒ Object
Returns the value of attribute uri
3 4 5 |
# File 'lib/es_http_client/ref.rb', line 3 def uri @uri end |
Class Method Details
.head_of(stream_name) ⇒ Object
5 6 7 |
# File 'lib/es_http_client/ref.rb', line 5 def self.head_of(stream_name) Ref.new("/streams/#{stream_name}", nil) end |