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.51 lib/renalware/service_result.rb
renalware-core-2.0.50 lib/renalware/service_result.rb
renalware-core-2.0.48 lib/renalware/service_result.rb
renalware-core-2.0.47 lib/renalware/service_result.rb
renalware-core-2.0.46 lib/renalware/service_result.rb
renalware-core-2.0.45 lib/renalware/service_result.rb
renalware-core-2.0.44 lib/renalware/service_result.rb
renalware-core-2.0.43 lib/renalware/service_result.rb
renalware-core-2.0.42 lib/renalware/service_result.rb
renalware-core-2.0.41 lib/renalware/service_result.rb
renalware-core-2.0.40 lib/renalware/service_result.rb
renalware-core-2.0.39 lib/renalware/service_result.rb
renalware-core-2.0.38 lib/renalware/service_result.rb
renalware-core-2.0.37 lib/renalware/service_result.rb
renalware-core-2.0.36 lib/renalware/service_result.rb
renalware-core-2.0.35 lib/renalware/service_result.rb
renalware-core-2.0.34 lib/renalware/service_result.rb
renalware-core-2.0.33 lib/renalware/service_result.rb
renalware-core-2.0.32 lib/renalware/service_result.rb
renalware-core-2.0.31 lib/renalware/service_result.rb