Sha256: e2315f69fa6f3607c660a7bc3e6e50b3111cf25628872dc16e25179f4cf8e354
Contents?: true
Size: 812 Bytes
Versions: 1
Compression:
Stored size: 812 Bytes
Contents
# frozen_string_literal: true require_relative "message/class_methods" module ConvenientService module Service module Plugins module HasResult module Entities class Result 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
convenient_service-0.1.0 | lib/convenient_service/service/plugins/has_result/entities/result/entities/message.rb |