Method: Etcdv3#role_add
- Defined in:
- lib/etcdv3.rb
#role_add(name, timeout: nil) ⇒ Object
Add role with specified name.
177 178 179 |
# File 'lib/etcdv3.rb', line 177 def role_add(name, timeout: nil) @conn.handle(:auth, 'role_add', [name, timeout: timeout]) end |