Sha256: a890ac70fe234fa9d544e9ae3f0bb148095f4f385ee1a3b2801f707975fec7d1

Contents?: true

Size: 379 Bytes

Versions: 9

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

require 'duckface'

module CleanArchitecture
  module Interfaces
    module UseCase
      extend Duckface::ActsAsInterface

      def initialize(_parameters)
        raise NotImplementedError
      end

      def parameters
        raise NotImplementedError
      end

      def result
        raise NotImplementedError
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
clean-architecture-1.1.0 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-1.0.1 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-1.0.0 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-0.2.0 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-0.1.0 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-0.0.5 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-0.0.4 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-0.0.3 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-0.0.1 lib/clean_architecture/interfaces/use_case.rb