Sha256: b26c2fb91ac1bff1b5ce1f12a58b9405b45c1901d2b63ea13aff6a1e6f00a87e
Contents?: true
Size: 994 Bytes
Versions: 13
Compression:
Stored size: 994 Bytes
Contents
# frozen_string_literal: true require_relative "message/class_methods" module ConvenientService module Service module Plugins module HasResult module Entities class Result module Plugins module HasJsendStatusAndAttributes module Entities class Message include Support::Castable extend ClassMethods attr_reader :value def initialize(value:) @value = value end def ==(other) casted = cast(other) return unless casted value == casted.value end def to_s @to_s ||= value.to_s end end end end end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems