Sha256: c8e9d684da242fe1537b9fcf4a84c5f8ef1d699325b83e75ad64de88d2a36a8f

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

module PostmanMta
  class Note < ApplicationModel
    def create(params)
      post('/notes', body: params)
    end

    def update(note_id, params)
      patch("/notes/#{note_id}", body: params)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
postman_mta-0.2.8 app/models/postman_mta/note.rb
postman_mta-0.2.7 app/models/postman_mta/note.rb
postman_mta-0.2.6 app/models/postman_mta/note.rb