Methods

Class/Module Index [+]

Quicksearch

Grape::Validations::SingleOptionValidator

Base class for all validators taking only one param.

Public Class Methods

new(attrs, options, required, scope) click to toggle source
# File lib/grape/validations.rb, line 55
def initialize(attrs, options, required, scope)
  @option = options
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.