Sha256: 32cb28b4b5bf4e161d54afcfcef77886cee5684e6ee42839ead033279a30e799

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
postman_mta-0.1.8 app/models/postman_mta/message.rb