Class: DbUrlHelper::Lookup::Boutons

Inherits:
Generic
  • Object
show all
Includes:
Registerable
Defined in:
lib/db_url_helper/lookup/boutons.rb

Constant Summary collapse

DEPENDS =
:Boutons

Class Method Summary collapse

Methods included from Registerable

base, included, #testable?

Class Method Details

.adaptersObject



7
8
9
# File 'lib/db_url_helper/lookup/boutons.rb', line 7

def adapters
  ::Boutons.available
end

.working_adaptersObject



10
11
12
13
14
# File 'lib/db_url_helper/lookup/boutons.rb', line 10

def working_adapters
  Adapter.all.select do |adapter|
    ::Boutons.available.include? adapter.scheme
  end
end