Sha256: 797b6cb0417b8ce1c476a69254c48ef3d690ba3580653db91384a06c049c03b6

Contents?: true

Size: 216 Bytes

Versions: 10

Compression:

Stored size: 216 Bytes

Contents

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

10 entries across 10 versions & 1 rubygems

Version Path
grape-1.0.1 lib/grape/exceptions/method_not_allowed.rb
grape-1.0.0 lib/grape/exceptions/method_not_allowed.rb
grape-0.19.2 lib/grape/exceptions/method_not_allowed.rb
grape-0.19.1 lib/grape/exceptions/method_not_allowed.rb
grape-0.19.0 lib/grape/exceptions/method_not_allowed.rb
grape-0.18.0 lib/grape/exceptions/method_not_allowed.rb
grape-0.17.0 lib/grape/exceptions/method_not_allowed.rb
grape-0.16.2 lib/grape/exceptions/method_not_allowed.rb
grape-0.16.1 lib/grape/exceptions/method_not_allowed.rb
grape-0.15.0 lib/grape/exceptions/method_not_allowed.rb