Method: WSDSL::Params#text
- Defined in:
- lib/params.rb
#text(name, options = {}) ⇒ Arrays<WSDSL::Params::Rule>
Defines a new text param and add it to the required or optional list
218 219 220 |
# File 'lib/params.rb', line 218 def text(name, ={}) param(:text, name, ) end |