Class: Swaggard::Swagger::Parameters::Form

Inherits:
Base
  • Object
show all
Defined in:
lib/swaggard/swagger/parameters/form.rb

Instance Attribute Summary

Attributes inherited from Base

#description, #is_required, #name

Instance Method Summary collapse

Methods inherited from Base

#to_doc

Constructor Details

#initialize(string) ⇒ Form

Returns a new instance of Form.



8
9
10
11
# File 'lib/swaggard/swagger/parameters/form.rb', line 8

def initialize(string)
  @in = 'formData'
  parse(string)
end