Sha256: ffcdb1282d6e706311b6f6bbfaa801fe7daf19671de2c238c66dc4c04822a99b
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
# frozen_string_literal: true module Hahamut module Message # Text Message class Text < Base class << self def match?(message) message['message']&.key?('text') end end attribute :text, :string def type :text end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hahamut-0.1.2 | lib/hahamut/message/text.rb |
hahamut-0.1.1 | lib/hahamut/message/text.rb |
hahamut-0.1.0 | lib/hahamut/message/text.rb |