Sha256: ebb59707439cc81294bb5003464ab0377952259c18dd04fcfebca1faf5b34910

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

module Eddy
  module Data
    module Persistence
      # Base class for data persistence wrappers.
      class Base

        # Clear persisted data.
        #
        # @return [void]
        def reset()
          raise NotImplementedError
        end

        # @return [Array<Integer>]
        def interchange_control_numbers()
          raise NotImplementedError
        end

        # @param _transaction_set_id [String]
        # @return [Array<Integer>]
        def transaction_set_control_numbers(_transaction_set_id)
          raise NotImplementedError
        end

        # @param _new_ctrl_num [Integer]
        # @return [Array<Integer>]
        def add_interchange_control_number(_new_ctrl_num)
          raise NotImplementedError
        end

        # @param _transaction_set_id [String]
        # @param _new_ctrl_num [Integer]
        # @return [Array<Integer>]
        def add_transaction_set_control_number(_transaction_set_id, _new_ctrl_num)
          raise NotImplementedError
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/eddy/data/persistence/base.rb
eddy-0.9.2 lib/eddy/data/persistence/base.rb
eddy-0.9.1 lib/eddy/data/persistence/base.rb
eddy-0.9.0 lib/eddy/data/persistence/base.rb