lib/lhc/formats/plain.rb in lhc-10.1.0 vs lib/lhc/formats/plain.rb in lhc-10.1.1
- old
+ new
@@ -1,11 +1,15 @@
module LHC::Formats
- class Plain
+ class Plain < LHC::Format
include LHC::BasicMethodsConcern
def self.request(options)
options[:format] = new
super(options)
+ end
+
+ def format_options(options)
+ options
end
def as_json(input)
parse(input)
end