Sha256: b00b7bf6b92fd48c1c90163c149b90cc1a26fb537572f2b6a275064bf839264b

Contents?: true

Size: 261 Bytes

Versions: 23

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

module Grape
  module Exceptions
    class InvalidFormatter < Base
      def initialize(klass, to_format)
        super(message: compose_message(:invalid_formatter, klass: klass, to_format: to_format))
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
grape-1.3.2 lib/grape/exceptions/invalid_formatter.rb
grape-1.3.1 lib/grape/exceptions/invalid_formatter.rb
grape-1.3.0 lib/grape/exceptions/invalid_formatter.rb