Sha256: 5f5f88caa840928aef3d23e9a68a61abd843a7a40a6eb818357552aff6cd83e9
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Slack module BlockKit module Layout class RichText module RichTextElements # https://api.slack.com/reference/block-kit/blocks#element-types class Emoji TYPE = 'emoji' def initialize(name:) @name = name end def as_json(*) { type: TYPE, name: @name }.compact end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-block-kit-0.25.0 | lib/slack/block_kit/layout/rich_text/rich_text_elements/emoji.rb |
slack-ruby-block-kit-0.24.0 | lib/slack/block_kit/layout/rich_text/rich_text_elements/emoji.rb |