Sha256: 966f7878369df07c6177805462f5fb47b73b9d27d084f433bdb42d2756aea3b5
Contents?: true
Size: 338 Bytes
Versions: 3
Compression:
Stored size: 338 Bytes
Contents
# frozen_string_literal: true # author: Vadim Shaveiko <@vshaveyko> # :nodoc: class RailsApiDoc::Config attr_accessor :check_params_type def check_params_type=(value) if value Validator.add_checker(ValidateType) else Validator.remove_checker(ValidateType) end end end require_relative 'config/validator'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_api_documentation-0.2.2 | lib/rails_api_doc/config.rb |
rails_api_documentation-0.2.1 | lib/rails_api_doc/config.rb |
rails_api_documentation-0.2.0 | lib/rails_api_doc/config.rb |