Sha256: f6682b376123ad8f0d1b265a5630c6d449c458f98268459aeb7c47c1689d190c

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

class Wechat::Validator::ServerValidationsController < ::Wechat::Validator::ApplicationController

  include ::Wechat::Validator::Concerns::SignatureChecker

  def index

    token = Rails.application.secrets.wechat_validation_token
    check_signature token

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wechat-validator-0.1 app/controllers/wechat/validator/server_validations_controller.rb