Sha256: a21ad0bb52eb1d15f5e3cfcd8e988066084f79c2d97d5f39290db1c3ff0f3c5b
Contents?: true
Size: 1.41 KB
Versions: 8
Compression:
Stored size: 1.41 KB
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasJSendResult module Entities class Result module Plugins module HasJSendStatusAndAttributes module Entities class Message module Commands ## # Check whether `message` can be considered as `Message` instance. # class IsMessage < Support::Command ## # @!attribute [r] message # @return [Object] Can be any type. # attr_reader :message ## # @param message [Object] Can be any type. # @return [void] # def initialize(message:) @message = message end ## # @return [Boolean] # def call message.class.include?(Entities::Message::Concern) end end end end end end end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems