Class: TentD::API::Groups::AuthorizeWrite
- Inherits:
-
Middleware
- Object
- Middleware
- TentD::API::Groups::AuthorizeWrite
- Defined in:
- lib/tentd/api/groups.rb
Instance Method Summary collapse
Methods inherited from Middleware
Methods included from Authorizable
#authorize_env!, #authorize_env?
Constructor Details
This class inherits a constructor from TentD::API::Middleware
Instance Method Details
#action(env) ⇒ Object
14 15 16 17 |
# File 'lib/tentd/api/groups.rb', line 14 def action(env) (env, :write_groups) env end |