Method: Qa::Authorities::Local::FileBasedAuthority#all

Defined in:
lib/qa/authorities/local/file_based_authority.rb

#allObject



15
16
17
18
19
# File 'lib/qa/authorities/local/file_based_authority.rb', line 15

def all
  terms.map do |res|
    { id: res[:id], label: res[:term], active: res.fetch(:active, true) }.with_indifferent_access
  end
end