Sha256: 6d5f4c0427ea17d82911846161b4e47895489493d9d6b566b5f7eda7eab86acb

Contents?: true

Size: 249 Bytes

Versions: 6

Compression:

Stored size: 249 Bytes

Contents

# encoding: utf-8
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

6 entries across 6 versions & 1 rubygems

Version Path
grape-0.14.0 lib/grape/exceptions/invalid_formatter.rb
grape-0.13.0 lib/grape/exceptions/invalid_formatter.rb
grape-0.12.0 lib/grape/exceptions/invalid_formatter.rb
grape-0.11.0 lib/grape/exceptions/invalid_formatter.rb
grape-0.10.1 lib/grape/exceptions/invalid_formatter.rb
grape-0.10.0 lib/grape/exceptions/invalid_formatter.rb