lib/abn/entity.rb
# Choose the most relevant business name
#
# @return [String] business name
Choose the most relevant business name
Choose the most relevant business name
def best_name
      trading_name ||
        other_trading_name ||
        main_name ||
        legal_name ||
        legal_name2 ||
        "Name unknown"
    end
def best_name trading_name || other_trading_name || main_name || legal_name || legal_name2 || "Name unknown" end
Choose the most relevant business name
Choose the most relevant business name
None
String