Sha256: 28b844f8fdb5d2431fc4f9ff5f592625fcf6bd0f98a5770bc0a57b5548694693

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

require 'duckface'

module CleanArchitecture
  module Interfaces
    module UseCase
      extend Duckface::ActsAsInterface

      def initialize(_parameters)
        raise NotImplementedError
      end

      def result
        raise NotImplementedError
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clean-architecture-2.0.0 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-1.2.0 lib/clean_architecture/interfaces/use_case.rb
clean-architecture-1.1.1 lib/clean_architecture/interfaces/use_case.rb