Sha256: 8360ba3214d6c9f7918943d5b6739553e02502cc15361db784e651f8f3ce1e4f

Contents?: true

Size: 212 Bytes

Versions: 35

Compression:

Stored size: 212 Bytes

Contents

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

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.16 lib/renalware/service_result.rb
renalware-core-2.0.15 lib/renalware/service_result.rb
renalware-core-2.0.14 lib/renalware/service_result.rb
renalware-core-2.0.13 lib/renalware/service_result.rb
renalware-core-2.0.12 lib/renalware/service_result.rb
renalware-core-2.0.11 lib/renalware/service_result.rb
renalware-core-2.0.9 lib/renalware/service_result.rb
renalware-core-2.0.8 lib/renalware/service_result.rb
renalware-core-2.0.7 lib/renalware/service_result.rb
renalware-core-2.0.5 lib/renalware/service_result.rb
renalware-core-2.0.4 lib/renalware/service_result.rb
renalware-core-2.0.3 lib/renalware/service_result.rb
renalware-core-2.0.2 lib/renalware/service_result.rb
renalware-core-2.0.1 lib/renalware/service_result.rb
renalware-core-2.0.0 lib/renalware/service_result.rb
renalware-core-2.0.0.pre.rc13 lib/renalware/service_result.rb
renalware-core-2.0.0.pre.rc11 lib/renalware/service_result.rb
renalware-core-2.0.0.pre.rc10 lib/renalware/service_result.rb
renalware-core-2.0.0.pre.rc9 lib/renalware/service_result.rb
renalware-core-2.0.0.pre.rc8 lib/renalware/service_result.rb