lib/marli/affiliations.rb
# Collect a simple array of codes from auth_types
Collect a simple array of codes from auth_types
Collect a simple array of codes from auth_types
def auth_types_array
      @auth_types_array ||= Rails.cache.fetch "auth_types_array", :expires_in => 24.hours do
        auth_types.collect {|x| x["code"] }
      end
    end
def auth_types_array @auth_types_array ||= Rails . cache . fetch "auth_types_array" , :expires_in => 24 . hours do auth_types . collect { | x | x [ "code" ] } end end
Collect a simple array of codes from auth_types
Collect a simple array of codes from auth_types