Sha256: 6ecd25b10b65e28d2e2142055019fac0a7bdbe38cce2c01fbfbddeb065e1921b

Contents?: true

Size: 198 Bytes

Versions: 11

Compression:

Stored size: 198 Bytes

Contents

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

11 entries across 11 versions & 2 rubygems

Version Path
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/grape-1.2.5/lib/grape/exceptions/method_not_allowed.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/method_not_allowed.rb
grape-1.2.5 lib/grape/exceptions/method_not_allowed.rb
grape-1.2.4 lib/grape/exceptions/method_not_allowed.rb
grape-1.2.3 lib/grape/exceptions/method_not_allowed.rb
grape-1.2.2 lib/grape/exceptions/method_not_allowed.rb
grape-1.2.1 lib/grape/exceptions/method_not_allowed.rb
grape-1.2.0 lib/grape/exceptions/method_not_allowed.rb
grape-1.1.0 lib/grape/exceptions/method_not_allowed.rb
grape-1.0.3 lib/grape/exceptions/method_not_allowed.rb
grape-1.0.2 lib/grape/exceptions/method_not_allowed.rb