app/controllers/application_controller.rb
# check if Rawls (submissions), Sam (workspace permissions), and Agora (methods repo) are available before making API calls
check if Rawls (submissions), Sam (workspace permissions), and Agora (methods repo) are available before making API calls
check if Rawls ( submissions ) Sam ( workspace permissions ) and Agora ( methods repo ) are available before making API calls
def check_firecloud_availability
    unless ApplicationController.fire_cloud_client.services_available?('Rawls', 'Sam', 'Agora')
      redirect_to site_path, alert: "Workspaces and/or Methods Repository are currently unavailable.  Please try again later." and return
    end
  end
def check_firecloud_availability unless ApplicationController . fire_cloud_client . services_available? ( 'Rawls' , 'Sam' , 'Agora' ) redirect_to site_path , alert : "Workspaces and/or Methods Repository are currently unavailable.  Please try again later." and return end end
check if Rawls (submissions), Sam (workspace permissions), and Agora (methods repo) are available before making API calls
check if Rawls ( submissions ) Sam ( workspace permissions ) and Agora ( methods repo ) are available before making API calls