Class: IceCube::Validations::ScheduleLock::Validation
- Inherits:
-
Object
- Object
- IceCube::Validations::ScheduleLock::Validation
- Includes:
- Lock
- Defined in:
- lib/ice_cube/validations/schedule_lock.rb
Overview
A validation used for locking time into a certain value
Constant Summary
Constants included from Lock
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#build_hash(builder) ⇒ Object
no -op.
-
#build_ical(builder) ⇒ Object
no -op.
-
#build_s(builder) ⇒ Object
no -op.
-
#initialize(type) ⇒ Validation
constructor
A new instance of Validation.
Methods included from Lock
Constructor Details
#initialize(type) ⇒ Validation
Returns a new instance of Validation.
21 22 23 |
# File 'lib/ice_cube/validations/schedule_lock.rb', line 21 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
19 20 21 |
# File 'lib/ice_cube/validations/schedule_lock.rb', line 19 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
19 20 21 |
# File 'lib/ice_cube/validations/schedule_lock.rb', line 19 def value @value end |
Instance Method Details
#build_hash(builder) ⇒ Object
no -op
34 35 |
# File 'lib/ice_cube/validations/schedule_lock.rb', line 34 def build_hash(builder) end |
#build_ical(builder) ⇒ Object
no -op
30 31 |
# File 'lib/ice_cube/validations/schedule_lock.rb', line 30 def build_ical(builder) end |
#build_s(builder) ⇒ Object
no -op
26 27 |
# File 'lib/ice_cube/validations/schedule_lock.rb', line 26 def build_s(builder) end |