feat: API to create HMAC verified conversations (#7209)

Fixes: #6744
This commit is contained in:
Sojan Jose
2023-05-29 21:57:24 +05:30
committed by GitHub
parent 91d1d44aa9
commit 3a7633b564
5 changed files with 31 additions and 23 deletions

View File

@@ -0,0 +1,5 @@
module HmacConcern
def hmac_verified?
ActiveModel::Type::Boolean.new.cast(params[:hmac_verified]).present?
end
end