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