Class: TentD::API::Profile::AuthorizeWrite
- Inherits:
-
Middleware
- Object
- Middleware
- TentD::API::Profile::AuthorizeWrite
- Defined in:
- lib/tentd/api/profile.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
7 8 9 10 |
# File 'lib/tentd/api/profile.rb', line 7 def action(env) (env, :write_profile) env end |