Class: Wechat::Validator::ServerValidationsController

Inherits:
ApplicationController show all
Includes:
Concerns::SignatureChecker
Defined in:
app/controllers/wechat/validator/server_validations_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
9
10
# File 'app/controllers/wechat/validator/server_validations_controller.rb', line 5

def index

  token = Rails.application.secrets.wechat_validation_token
  check_signature token

end