Class: TentD::API::Followers::Update
- Inherits:
-
Middleware
- Object
- Middleware
- TentD::API::Followers::Update
- Defined in:
- lib/tentd/api/followers.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
143 144 145 146 |
# File 'lib/tentd/api/followers.rb', line 143 def action(env) env.response = Model::Follower.update_follower(env.params[:follower_id], env.params[:data], env.) env end |