Class: Nestful::Formats::TextFormat
- Defined in:
- lib/nestful/formats/text_format.rb
Instance Method Summary collapse
Methods inherited from Format
Instance Method Details
#decode(body) ⇒ Object
12 13 14 |
# File 'lib/nestful/formats/text_format.rb', line 12 def decode(body) body end |
#encode(body) ⇒ Object
8 9 10 |
# File 'lib/nestful/formats/text_format.rb', line 8 def encode(body) body end |
#mime_type ⇒ Object
4 5 6 |
# File 'lib/nestful/formats/text_format.rb', line 4 def mime_type 'text/plain' end |