Sha256: 94b3d968fba00bf772f0d250806d1305a33585b9b825195f3c8a18bc0e0008cc

Contents?: true

Size: 276 Bytes

Versions: 3

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true
module Aitch
  module ResponseParser
    module DefaultParser
      def self.type
        :default
      end

      def self.match?(content_type)
        true
      end

      def self.load(source)
        source.to_s
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aitch-1.0.2 lib/aitch/response_parser/default_parser.rb
aitch-1.0.1 lib/aitch/response_parser/default_parser.rb
aitch-1.0.0 lib/aitch/response_parser/default_parser.rb