Method: LabClient::ClientHelpers#profile

Defined in:
lib/labclient/client/helpers.rb

#profileObject

Easier Profile Name Access



31
32
33
34
35
36
37
# File 'lib/labclient/client/helpers.rb', line 31

def profile
  if settings&.key? :profile
    settings[:profile].to_sym
  else
    ENV['LABCLIENT_PROFILE'].to_sym
  end
end