class Nucleo::Models::CheckTypes::Length

Public Instance Methods

max_length() click to toggle source

Returns the max allowed length

@return [String]

# File lib/nucleo/models/check_types/length.rb, line 20
def max_length
  Integer(@attributes['max_length'])
end
min_length() click to toggle source

Returns the min allowed length

@return [String]

# File lib/nucleo/models/check_types/length.rb, line 13
def min_length
  Integer(@attributes['min_length'])
end
type() click to toggle source
# File lib/nucleo/models/check_types/length.rb, line 6
def type
  'length'
end