Class: Nucleo::Models::CheckTypes::Count
- Defined in:
- lib/nucleo/models/check_types/count.rb
Instance Method Summary collapse
-
#max_count ⇒ String
Returns the max allowed count.
-
#min_count ⇒ String
Returns the min allowed count.
- #type ⇒ Object
Methods inherited from Base
Constructor Details
This class inherits a constructor from Nucleo::Models::CheckTypes::Base
Instance Method Details
#max_count ⇒ String
Returns the max allowed count
20 21 22 |
# File 'lib/nucleo/models/check_types/count.rb', line 20 def max_count Integer(@attributes['max_count']) end |
#min_count ⇒ String
Returns the min allowed count
13 14 15 |
# File 'lib/nucleo/models/check_types/count.rb', line 13 def min_count Integer(@attributes['min_count']) end |
#type ⇒ Object
6 7 8 |
# File 'lib/nucleo/models/check_types/count.rb', line 6 def type 'count' end |