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