Method: Racadm.s_to_role

Defined in:
lib/puppet_x/racadm/racadm.rb

.s_to_role(value) ⇒ Object



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/puppet_x/racadm/racadm.rb', line 77

def self.s_to_role(value)
  case value
  when '1'
    'callback'
  when '2'
    'user'
  when '3'
    'operator'
  when '4'
    'administrator'
  when '5'
    'oem_proprietary'
  when '15'
    'no_access'
  end
end