Class: Sumsub::WebhookSender
- Inherits:
-
Object
- Object
- Sumsub::WebhookSender
- Defined in:
- lib/sumsub/webhook_sender.rb
Overview
Class Method Summary collapse
Class Method Details
.get_payload(params) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/sumsub/webhook_sender.rb', line 6 def self.get_payload(params) JSON.pretty_generate( params, space_before: ' ', ) .gsub("[\n \"", "[ \"") .gsub("\n ]", " ]") end |