app/models/postman_mta/conversation.rb in postman_mta-0.2.1 vs app/models/postman_mta/conversation.rb in postman_mta-0.2.2

- old
+ new

@@ -2,13 +2,17 @@ class Conversation < ApplicationModel def index(params = {}) get('/conversations', body: params) end + def archive(params = {}) + get('/archive/conversations', body: params) + end + def folder(folder, params = {}) params = { folder: folder - }.merge(params) + }.merge!(params) get('/conversations', body: params) end def find(conversation_id)