Class: GfreshPoint::Usecase::RuleListUsecase

Inherits:
BaseUsecase
  • Object
show all
Defined in:
lib/gfresh_point/usecase/rule_list_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/rule_list_usecase.rb', line 4

def execute(request)
  rules = repo.list_rules(request.filters[:app_id])
end