mysociety/alaveteli

View on GitHub
app/models/info_request/response_gatekeeper/nobody.rb

Summary

Maintainability
A
0 mins
Test Coverage
class InfoRequest
  module ResponseGatekeeper
    class Nobody < Base
      def initialize(info_request)
        super
        @allow = false
        @reason = _('This request has been set by an administrator to ' \
                    '"allow new responses from nobody"')
      end
    end
  end
end