Sha256: 9cc84740b9cdb56c3cd2093e74af1b0888c75d5a0535655ce32b3766922fc440

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

module Slack
  module BlockKit
    class Block
      class DividerBlock < Block
        def self.[](hash = {})
          new.tap { |obj| populate(hash, obj) }
        end

        def to_h
          super.compact
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-block-kit-0.1.0 lib/slack/block_kit/block/divider_block.rb