Class: Nucleo::Models::CheckTypes::Count

Inherits:
Base
  • Object
show all
Defined in:
lib/nucleo/models/check_types/count.rb

Instance Method Summary collapse

Methods inherited from Base

#elements, #initialize

Constructor Details

This class inherits a constructor from Nucleo::Models::CheckTypes::Base

Instance Method Details

#max_countString

Returns the max allowed count

Returns:

  • (String)


20
21
22
# File 'lib/nucleo/models/check_types/count.rb', line 20

def max_count
  Integer(@attributes['max_count'])
end

#min_countString

Returns the min allowed count

Returns:

  • (String)


13
14
15
# File 'lib/nucleo/models/check_types/count.rb', line 13

def min_count
  Integer(@attributes['min_count'])
end

#typeObject



6
7
8
# File 'lib/nucleo/models/check_types/count.rb', line 6

def type
  'count'
end