Class: Resto::Format::Plain
- Inherits:
-
Object
- Object
- Resto::Format::Plain
- Extended by:
- Resto::Format
- Defined in:
- lib/resto/format/plain.rb
Overview
This class is used when sending plain text requests.
Class Method Summary collapse
-
.accept ⇒ String
The accept header when sending text data.
-
.content_type ⇒ String
The content-type header when sending text data.
Methods included from Resto::Format
accept, content_type, decode, encode, extension, get
Class Method Details
.accept ⇒ String
18 |
# File 'lib/resto/format/plain.rb', line 18 def accept; 'text/plain, */*'; end |