Class: Stattleship::Validators::RankedValidator

Inherits:
BaseValidator show all
Defined in:
lib/stattleship/validators/ranked_validator.rb

Instance Method Summary collapse

Methods inherited from BaseValidator

#initialize, #validates_date, #validates_league_prefix, #validates_positive_integer, #validates_positive_or_zero_integer, #validates_sport_prefix

Constructor Details

This class inherits a constructor from Stattleship::Validators::BaseValidator

Instance Method Details

#validateObject


4
5
6
# File 'lib/stattleship/validators/ranked_validator.rb', line 4

def validate
  validates_positive_integer
end