Class: Zedkit::Blogs
- Inherits:
-
Object
- Object
- Zedkit::Blogs
- Defined in:
- lib/zedkit/resources/blogs.rb
Defined Under Namespace
Classes: Posts
Class Method Summary collapse
- .create(zks = {}, &block) ⇒ Object
- .delete(zks = {}, &block) ⇒ Object
- .get(zks = {}, &block) ⇒ Object
- .update(zks = {}, &block) ⇒ Object
Class Method Details
.create(zks = {}, &block) ⇒ Object
25 26 27 |
# File 'lib/zedkit/resources/blogs.rb', line 25 def create(zks = {}, &block) Zedkit::Client.crud(:create, "blogs", zks, [], &block) end |
.delete(zks = {}, &block) ⇒ Object
33 34 35 |
# File 'lib/zedkit/resources/blogs.rb', line 33 def delete(zks = {}, &block) Zedkit::Client.crud(:delete, "blogs/#{zks[:uuid]}", zks, [], &block) end |