Sha256: 0d78bbfbdff78537483a3ac5a05262c8f6454fe0d284b9b74711a415dbf4737a

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

require 'virtus'
require 'rom/support/deprecations'

module ROM
  module Rails
    class Configuration
      extend ROM::Deprecations

      include Virtus.model(strict: true)

      attribute :gateways, Hash, default: {}
      attribute :auto_registration_paths, Array, default: []

      deprecate :repositories, :gateways
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-rails-0.8.0 lib/rom/rails/configuration.rb
rom-rails-0.7.0 lib/rom/rails/configuration.rb