Sha256: f0fdab2736d3375c9df31fc4b097cdeff137713a4d0ac7aec0cba22746cf40d3

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 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

5 entries across 5 versions & 1 rubygems

Version Path
aitch-2.0.0 lib/aitch/response_parser/default_parser.rb
aitch-1.2.2 lib/aitch/response_parser/default_parser.rb
aitch-1.2.1 lib/aitch/response_parser/default_parser.rb
aitch-1.2.0 lib/aitch/response_parser/default_parser.rb
aitch-1.1.0 lib/aitch/response_parser/default_parser.rb