module BigKeeper::OperateType

Constants

FINISH
PUBLISH
RELEASE
START
SWITCH
UPDATE

Public Class Methods

name(type) click to toggle source
# File lib/big_keeper/model/operate_type.rb, line 10
def self.name(type)
  if START == type
    "start"
  elsif UPDATE == type
    "update"
  elsif SWITCH == type
    "switch"
  else
    name
  end
end