Sha256: e4346ccddcc53422e389a17aef9c4956c20ec13e59ca1b0aca5aef2c09b58d59
Contents?: true
Size: 697 Bytes
Versions: 3
Compression:
Stored size: 697 Bytes
Contents
# frozen_string_literal: true require "json_schematize" require "json_schematize/generator" require "slack_bot/events/schemas/data_payload" module SlackBot module Events module Schemas class SocketPayload < JsonSchematize::Generator schema_default option: :dig_type, value: :string add_field name: :envelope_id, type: String add_field name: :payload, type: SlackBot::Events::Schemas::DataPayload add_field name: :type, type: String add_field name: :accepts_response_payload, type: JsonSchematize::Boolean add_field name: :retry_attempt, type: Integer add_field name: :retry_reason, type: String end end end end
Version data entries
3 entries across 3 versions & 1 rubygems