Sha256: 6f4a2e2f37cf5cbeb97de32a2d76b218937dfe04b802493b769a92f23ae8b301

Contents?: true

Size: 635 Bytes

Versions: 2

Compression:

Stored size: 635 Bytes

Contents

# frozen_string_literal: true

module Dynflow
  module CoordinatorAdapters
    class Abstract
      include Algebrick::TypeCheck

      def initialize(world)
        Type! world, World
        @world = world
      end

      def create_record(record)
        raise NotImplementedError
      end

      def update_record(record)
        raise NotImplementedError
      end

      def delete_record(record)
        raise NotImplementedError
      end

      def find_records(record)
        raise NotImplementedError
      end

      def find_execution_plans(filter_options)
        raise NotImplementedError
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dynflow-1.9.0 lib/dynflow/coordinator_adapters/abstract.rb
dynflow-1.8.3 lib/dynflow/coordinator_adapters/abstract.rb