class IceCube::Validations::ScheduleLock::Validation
Attributes
type[R]
value[R]
Public Class Methods
new(type)
click to toggle source
# File lib/ice_cube/validations/schedule_lock.rb, line 19 def initialize(type) @type = type end
Public Instance Methods
build_hash(builder)
click to toggle source
no -op
# File lib/ice_cube/validations/schedule_lock.rb, line 39 def build_hash(builder) end
build_ical(builder)
click to toggle source
no -op
# File lib/ice_cube/validations/schedule_lock.rb, line 43 def build_ical(builder) end
build_s(builder)
click to toggle source
no -op
# File lib/ice_cube/validations/schedule_lock.rb, line 35 def build_s(builder) end
dst_adjust?()
click to toggle source
# File lib/ice_cube/validations/schedule_lock.rb, line 27 def dst_adjust? case @type when :sec, :min then false else true end end
key()
click to toggle source
# File lib/ice_cube/validations/schedule_lock.rb, line 23 def key :base end