Class: Sipity::Services::AuthorizationLayer::AuthorizeEverything

Inherits:
Object
  • Object
show all
Defined in:
app/services/sipity/services/authorization_layer.rb

Overview

Everything is allowed!

Instance Method Summary collapse

Constructor Details

#initializeAuthorizeEverything


45
46
# File 'app/services/sipity/services/authorization_layer.rb', line 45

def initialize(*)
end

Instance Method Details

#enforce!Object


48
49
50
# File 'app/services/sipity/services/authorization_layer.rb', line 48

def enforce!(*)
  yield
end