Class: Zedkit::Users
- Inherits:
-
Object
- Object
- Zedkit::Users
- Defined in:
- lib/zedkit/resources/users.rb
Defined Under Namespace
Classes: Projects
Class Method Summary collapse
- .create(zks = {}, &block) ⇒ Object
- .get(zks = {}, &block) ⇒ Object
- .update(zks = {}, &block) ⇒ Object
- .verify(zks = {}) {|rs| ... } ⇒ Object
Class Method Details
.create(zks = {}, &block) ⇒ Object
31 32 33 |
# File 'lib/zedkit/resources/users.rb', line 31 def create(zks = {}, &block) Zedkit::Client.crud(:create, "users", zks, [], &block) end |
.get(zks = {}, &block) ⇒ Object
27 28 29 |
# File 'lib/zedkit/resources/users.rb', line 27 def get(zks = {}, &block) Zedkit::Client.crud(:get, "users/#{zks[:uuid]}", zks, [], &block) end |
.update(zks = {}, &block) ⇒ Object
35 36 |
# File 'lib/zedkit/resources/users.rb', line 35 def update(zks = {}, &block) end |