Class: Stretch::Client
- Inherits:
-
Object
- Object
- Stretch::Client
- Defined in:
- lib/stretch/client.rb
Instance Method Summary collapse
- #cluster ⇒ Object
- #index(name) ⇒ Object
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
7 8 9 10 11 |
# File 'lib/stretch/client.rb', line 7 def initialize = {} self.tap do @connection = Stretch::Connection.new end end |