Sha256: 932217376d5c0801434f6512cf9c8ef775f99a110cb9f8f5d8717dc0b45ba072

Contents?: true

Size: 243 Bytes

Versions: 132

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

module Renalware
  class ServiceResult
    attr_reader :object

    def initialize(object)
      @object = object
    end

    def success?
      false
    end

    def failure?
      !success?
    end
  end
end

Version data entries

132 entries across 132 versions & 1 rubygems

Version Path
renalware-core-2.0.159 lib/renalware/service_result.rb
renalware-core-2.0.158 lib/renalware/service_result.rb
renalware-core-2.0.157 lib/renalware/service_result.rb
renalware-core-2.0.156 lib/renalware/service_result.rb
renalware-core-2.0.155 lib/renalware/service_result.rb
renalware-core-2.0.153 lib/renalware/service_result.rb
renalware-core-2.0.152 lib/renalware/service_result.rb
renalware-core-2.0.151 lib/renalware/service_result.rb
renalware-core-2.0.149 lib/renalware/service_result.rb
renalware-core-2.0.148 lib/renalware/service_result.rb
renalware-core-2.0.147 lib/renalware/service_result.rb
renalware-core-2.0.146 lib/renalware/service_result.rb
renalware-core-2.0.145 lib/renalware/service_result.rb
renalware-core-2.0.144 lib/renalware/service_result.rb
renalware-core-2.0.143 lib/renalware/service_result.rb
renalware-core-2.0.142 lib/renalware/service_result.rb
renalware-core-2.0.141 lib/renalware/service_result.rb
renalware-core-2.0.140 lib/renalware/service_result.rb
renalware-core-2.0.139 lib/renalware/service_result.rb
renalware-core-2.0.138 lib/renalware/service_result.rb