Class Apipie::Validator::BaseValidator
In: lib/apipie/validator.rb
Parent: Object

to create new validator, inherit from Apipie::Validator::Base and implement class method build and instance method validate

Methods

description   expected_type   find   inherited   new   param_name   to_json   to_s   valid?  

Attributes

param_description  [RW] 

Public Class methods

find the right validator for given options

Public Instance methods

what type is expected, mostly string this information is used in cli client thor supported types :string, :hash, :array, :numeric, or :boolean

check if value is valid

[Validate]