Sha256: ca474a5e1d626e12bfe4badd6fae6a606fe03fb682630bb1051362bb26306b24
Contents?: true
Size: 355 Bytes
Versions: 2
Compression:
Stored size: 355 Bytes
Contents
module PostmanMta class Route < ApplicationModel def index get('/routes') end def update(uuid, params = {}) patch("/routes/#{uuid}", body: params) end def create(params = {}) post('/routes', body: params) end def destroy(uuid, params = {}) delete("/routes/#{uuid}", body: params) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
postman_mta-0.2.8 | app/models/postman_mta/route.rb |
postman_mta-0.2.7 | app/models/postman_mta/route.rb |