Class: UCB::CalwebPro

Inherits:
Object
  • Object
show all
Includes:
UnixEnvironment
Defined in:
lib/ucb_calweb_pro.rb

Class Method Summary collapse

Methods included from UnixEnvironment

included

Class Method Details

.calweb_pro?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/ucb_calweb_pro.rb', line 10

def self.calweb_pro?
  machine_name.split('-').first == 'calweb'
end

.environmentObject



6
7
8
# File 'lib/ucb_calweb_pro.rb', line 6

def self.environment
  'prod'
end