Class: Zedkit::EmailSettings
- Inherits:
-
Object
- Object
- Zedkit::EmailSettings
- Defined in:
- lib/zedkit/resources/email_settings.rb
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/email_settings.rb', line 25 def create(zks = {}, &block) Zedkit::Client.crud(:create, "emails/settings", zks, [], &block) end |
.delete(zks = {}, &block) ⇒ Object
33 34 35 |
# File 'lib/zedkit/resources/email_settings.rb', line 33 def delete(zks = {}, &block) Zedkit::Client.crud(:delete, "emails/settings/#{zks[:uuid]}", zks, [], &block) end |