Method: Etcdv3#put

Defined in:
lib/etcdv3.rb

#put(key, value, opts = {}) ⇒ Object

Inserts a new key. key - string value - string optional :lease - integer optional :timeout - integer



139
140
141
# File 'lib/etcdv3.rb', line 139

def put(key, value, opts={})
  @conn.handle(:kv, 'put', [key, value, opts])
end