Class: Octo::Rules
- Inherits:
-
Object
- Object
- Octo::Rules
- Includes:
- Cequel::Record, Record
- Defined in:
- lib/octocore-cassandra/models/enterprise/rules.rb
Constant Summary collapse
- DAILY =
Types of conversions
0
- WEEKLY =
1
- WEEKENDS =
2
- ALTERNATE =
3
Constants included from Cequel::Record
Class Method Summary collapse
-
.duration_types ⇒ Hash
Fetches the types of durations.
Methods included from Record
Methods included from Cequel::Record
#marshal_dump, #marshal_load, redis, update_cache_config
Class Method Details
.duration_types ⇒ Hash
Fetches the types of durations
33 34 35 36 37 38 39 40 |
# File 'lib/octocore-cassandra/models/enterprise/rules.rb', line 33 def duration_types { Octo::Rules::DAILY => 'Daily', Octo::Rules::WEEKLY => 'Weekly', Octo::Rules::WEEKENDS => 'Weekends', Octo::Rules::ALTERNATE => 'Alternate Days' } end |