Class: Apical::FormContentType
- Inherits:
-
ContentType
- Object
- ContentType
- Apical::FormContentType
- Defined in:
- lib/apical/content_types.rb
Overview
TODO: Actually encode/decode urlencoded params
Instance Method Summary collapse
Methods inherited from ContentType
Instance Method Details
#generate(str) ⇒ Object
49 50 51 |
# File 'lib/apical/content_types.rb', line 49 def generate(str) str end |
#header ⇒ Object
45 46 47 |
# File 'lib/apical/content_types.rb', line 45 def header 'application/x-www-form-urlencoded' end |
#parse(obj) ⇒ Object
53 54 55 |
# File 'lib/apical/content_types.rb', line 53 def parse(obj) obj end |
#to_s ⇒ Object
57 58 59 |
# File 'lib/apical/content_types.rb', line 57 def to_s 'form' end |