Sha256: 436bde637e7e4068a76d301a961f2a34fedd5fe4c2debf400eee5c6166c843aa

Contents?: true

Size: 229 Bytes

Versions: 23

Compression:

Stored size: 229 Bytes

Contents

# frozen_string_literal: true

module Grape
  module Exceptions
    class MethodNotAllowed < Base
      def initialize(headers)
        super(message: '405 Not Allowed', status: 405, headers: headers)
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

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