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.74 lib/renalware/service_result.rb
renalware-core-2.0.73 lib/renalware/service_result.rb
renalware-core-2.0.72 lib/renalware/service_result.rb
renalware-core-2.0.71 lib/renalware/service_result.rb
renalware-core-2.0.70 lib/renalware/service_result.rb
renalware-core-2.0.69 lib/renalware/service_result.rb
renalware-core-2.0.68 lib/renalware/service_result.rb
renalware-core-2.0.67 lib/renalware/service_result.rb
renalware-core-2.0.64 lib/renalware/service_result.rb
renalware-core-2.0.63 lib/renalware/service_result.rb
renalware-core-2.0.62 lib/renalware/service_result.rb
renalware-core-2.0.61 lib/renalware/service_result.rb
renalware-core-2.0.60 lib/renalware/service_result.rb
renalware-core-2.0.58 lib/renalware/service_result.rb
renalware-core-2.0.57 lib/renalware/service_result.rb
renalware-core-2.0.56 lib/renalware/service_result.rb
renalware-core-2.0.55 lib/renalware/service_result.rb
renalware-core-2.0.54 lib/renalware/service_result.rb
renalware-core-2.0.53 lib/renalware/service_result.rb
renalware-core-2.0.52 lib/renalware/service_result.rb