Class: GfreshPoint::Usecase::UpdateRulePointUsecase

Inherits:
BaseUsecase
  • Object
show all
Defined in:
lib/gfresh_point/usecase/update_rule_point_usecase.rb

Instance Attribute Summary

Attributes inherited from BaseUsecase

#repo

Instance Method Summary collapse

Methods inherited from BaseUsecase

#call, #generate_response, #initialize

Constructor Details

This class inherits a constructor from GfreshPoint::Usecase::BaseUsecase

Instance Method Details

#execute(request) ⇒ Object



4
5
6
# File 'lib/gfresh_point/usecase/update_rule_point_usecase.rb', line 4

def execute(request)
  rules = repo.update_rule_point(request.app_id, request.rule_id, request.point, request.name)
end