Class: TentD::API::Posts::GetCount
- Inherits:
-
Middleware
- Object
- Middleware
- TentD::API::Posts::GetCount
- Defined in:
- lib/tentd/api/posts.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
54 55 56 57 |
# File 'lib/tentd/api/posts.rb', line 54 def action(env) env.params.return_count = true env end |