Sha256: b48f0d375ff84fc679519d72b5b55a61a94317e86f419f061724ecaff44998bf
Contents?: true
Size: 556 Bytes
Versions: 49
Compression:
Stored size: 556 Bytes
Contents
# frozen_string_literal: true module LHC::Formats 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 def as_open_struct(input) parse(input) end def to_body(input) input end def to_s 'plain' end def to_sym to_s.to_sym end private def parse(input) input end end end
Version data entries
49 entries across 49 versions & 1 rubygems