# File lib/grape/dsl/validations.rb, line 18 def document_attribute(names, opts) @last_description ||= {} @last_description[:params] ||= {} Array(names).each do |name| @last_description[:params][name[:full_name].to_s] ||= {} @last_description[:params][name[:full_name].to_s].merge!(opts) end end
Generated with the Darkfish Rdoc Generator 2.