Class: PostmanMta::MessagesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/postman_mta/messages_controller.rb

Constant Summary

Constants inherited from ApplicationController

ApplicationController::MODULES

Instance Method Summary collapse

Instance Method Details

#createObject



7
8
9
# File 'app/controllers/postman_mta/messages_controller.rb', line 7

def create
  render message.create(message_params)
end

#showObject



3
4
5
# File 'app/controllers/postman_mta/messages_controller.rb', line 3

def show
  render message.find(params[:token])
end