Class: MessengersController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- MessengersController
- Defined in:
- app/controllers/messengers_controller.rb
Overview
Controller for debug purposes. Returns the Messenger payload, allows easy checking of messenger content
Constant Summary
Constants included from FlashTruncation
FlashTruncation::STRING_OVERHEAD
Instance Method Summary collapse
Methods inherited from ApplicationController
#block_api_access, #evil_parameter_hack!, #extract_header_info, #set_cache_disabled!
Methods included from FlashTruncation
#max_flash_size, #truncate_flash, #truncate_flash_array
Instance Method Details
#show ⇒ Object
6 7 8 9 |
# File 'app/controllers/messengers_controller.rb', line 6 def show @messenger = Messenger.find(params[:id]) render json: @messenger end |