|
|
|
@@ -16,15 +16,15 @@ class Cache::V2::UserDateRankService < ApplicationService |
|
|
|
end |
|
|
|
|
|
|
|
def read_rank |
|
|
|
user_rank unless @user_id.nil? |
|
|
|
user_rank unless @user_id.blank? |
|
|
|
end |
|
|
|
|
|
|
|
def read_statistic |
|
|
|
user_statistic unless @user_id.nil? |
|
|
|
user_statistic unless @user_id.blank? |
|
|
|
end |
|
|
|
|
|
|
|
def call |
|
|
|
set_user_rank unless @user_id.nil? |
|
|
|
set_user_rank unless @user_id.blank? |
|
|
|
end |
|
|
|
|
|
|
|
private |
|
|
|
|