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.137 lib/renalware/service_result.rb
renalware-core-2.0.136 lib/renalware/service_result.rb
renalware-core-2.0.135 lib/renalware/service_result.rb
renalware-core-2.0.134 lib/renalware/service_result.rb
renalware-core-2.0.133 lib/renalware/service_result.rb
renalware-core-2.0.132 lib/renalware/service_result.rb
renalware-core-2.0.131 lib/renalware/service_result.rb
renalware-core-2.0.130 lib/renalware/service_result.rb
renalware-core-2.0.129 lib/renalware/service_result.rb
renalware-core-2.0.128 lib/renalware/service_result.rb
renalware-core-2.0.127 lib/renalware/service_result.rb
renalware-core-2.0.126 lib/renalware/service_result.rb
renalware-core-2.0.125 lib/renalware/service_result.rb
renalware-core-2.0.124 lib/renalware/service_result.rb
renalware-core-2.0.123 lib/renalware/service_result.rb
renalware-core-2.0.121 lib/renalware/service_result.rb
renalware-core-2.0.120 lib/renalware/service_result.rb
renalware-core-2.0.119 lib/renalware/service_result.rb
renalware-core-2.0.118 lib/renalware/service_result.rb
renalware-core-2.0.117 lib/renalware/service_result.rb