style: update fn name

This commit is contained in:
Shivam Mishra
2025-01-20 16:26:30 +05:30
parent 0445bec38a
commit 3ef939d6a3
+2 -2
View File
@@ -10,12 +10,12 @@ module Enterprise::Inbox
end
def captain_active?
captain_assistant.present? && has_more_responses?
captain_assistant.present? && more_responses?
end
private
def has_more_responses?
def more_responses?
account.usage_limits[:captain][:generated_responses][:current_available].positive?
end