Sha256: 60c1a2aa368f418e30227e174dff8aab86b7cb6b100be8a565f18374130400b4
Contents?: true
Size: 591 Bytes
Versions: 10
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true require "json_schematize" require "json_schematize/generator" module SlackBot module Events module Schemas class Authorization < JsonSchematize::Generator schema_default option: :dig_type, value: :string add_field name: :enterprise_id, type: String, required: false add_field name: :team_id, type: String add_field name: :user_id, type: String add_field name: :is_bot, type: JsonSchematize::Boolean add_field name: :is_enterprise_install, type: JsonSchematize::Boolean end end end end
Version data entries
10 entries across 10 versions & 1 rubygems