module ActiveExchanger
  class Error < ::StandardError
  end

  class NotSupportedFormatError < Error
  end

  class NotWellFormedFileError < Error
  end

  class IncompatibleDataError < Error
  end

  class InvalidDataError < Error
  end
end

require 'active_exchanger/base'
require 'active_exchanger/supervisor'

Dir.glob(Rails.root.join('app', 'exchangers', '**', '*.rb')).each do |path|
  require path
end

module ActiveExchanger
  class Error < ::StandardError
  end

  class NotSupportedFormatError < Error
  end

  class NotWellFormedFileError < Error
  end

  class IncompatibleDataError < Error
  end

  class InvalidDataError < Error
  end
end

require 'active_exchanger/base'
require 'active_exchanger/supervisor'

Dir.glob(Rails.root.join('app', 'exchangers', '**', '*.rb')).each do |path|
  require_dependency path
end

Use require_dependency instead of require in ActiveExchanger so we don't re-require all exchangers again.
Use require_dependency instead of require in ActiveExchanger so we don't re-require all exchangers again.
