Module: Teamlab::MailSignature
- Included in:
- Defined in:
- lib/teamlab/modules/mail/mail_signature.rb
Overview
Methods for working with mail signatures
Instance Method Summary collapse
- #get_meail_signature(mailbox_id) ⇒ Object
- #update_signature(mailbox_id, html, options = {}) ⇒ Object
Instance Method Details
#get_meail_signature(mailbox_id) ⇒ Object
6 7 8 |
# File 'lib/teamlab/modules/mail/mail_signature.rb', line 6 def get_meail_signature(mailbox_id) @request.get(['signature', mailbox_id.to_s]) end |
#update_signature(mailbox_id, html, options = {}) ⇒ Object
10 11 12 |
# File 'lib/teamlab/modules/mail/mail_signature.rb', line 10 def update_signature(mailbox_id, html, = {}) @request.post(['signature', 'update', mailbox_id.to_s], { html: html }.merge()) end |