Drupal 7 Migration Questions

@pfaffman - will that snippet work if I drop it within the import class something like this? Or is it better to run in the Rails console?

    class ImportScripts::Drupal < ImportScripts::Base

      SiteSetting.disable_emails = true
      SiteSetting.allow_index_in_robots_txt = nil
      SiteSetting.login_required = true

      ##
      # TODO: the MySQL database name gets loaded here
      #
      DRUPAL_DB = ENV['DRUPAL_DB'] || "tmp_deleteme"

      ##
      # The `VID` is a vocabulary ID.
      #
      # <snip> ...
    end