Class: Georgia::UpdateRevision::Guest

Inherits:
Service
  • Object
show all
Defined in:
app/services/georgia/update_revision.rb

Instance Attribute Summary

Attributes inherited from Service

#revision

Instance Method Summary collapse

Methods inherited from Service

#initialize

Constructor Details

This class inherits a constructor from Georgia::UpdateRevision::Service

Instance Method Details

#callObject

Raises:

  • (Pundit::NotAuthorizedError)


46
47
48
# File 'app/services/georgia/update_revision.rb', line 46

def call
  raise Pundit::NotAuthorizedError, 'You must be at least a Contributor to update a page.'
end