Sha256: cb2bfefc9a16ab9acd5781a829c047ec7cb480b392e4c30c4791683fc1c92230
Contents?: true
Size: 340 Bytes
Versions: 9
Compression:
Stored size: 340 Bytes
Contents
module PostmanMta class Message < ApplicationModel def find(token) get("/messages/#{token}") end def create(params) post('/messages', body: params) end def unread_stats get('/stats/messages/unread') end def search(params = {}) get('/search/messages', body: params) end end end
Version data entries
9 entries across 9 versions & 1 rubygems