Sha256: 271ca02984ea10a25ec8491f4b26cce584ea6f88e931865472f2d4b2917d6a48
Contents?: true
Size: 1.38 KB
Versions: 8
Compression:
Stored size: 1.38 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 Data module Commands ## # Check whether `data` can be considered as `Data` instance. # class IsData < Support::Command ## # @!attribute [r] data # @return [Object] Can be any type. # attr_reader :data ## # @param data [Object] Can be any type. # @return [void] # def initialize(data:) @data = data end ## # @return [Boolean] # def call data.class.include?(Entities::Data::Concern) end end end end end end end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems