Class: Nestful::Formats::BlankFormat
- Defined in:
- lib/nestful/formats/blank_format.rb
Instance Method Summary collapse
Methods inherited from Format
Instance Method Details
#decode(body) ⇒ Object
8 9 10 |
# File 'lib/nestful/formats/blank_format.rb', line 8 def decode(body) body end |
#encode(params, options = nil) ⇒ Object
4 5 6 |
# File 'lib/nestful/formats/blank_format.rb', line 4 def encode(params, = nil) raise "Choose an encoding format, such as :form" end |