Class: GfreshPoint::Usecase::ListUserPointsUsecase

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

def execute(request)
  repo.list_user_points(request.app_id, request.user_id, request.event_name, request.origin_id)
end