rename make_decision method to send_decision
This commit is contained in:
@ -46,7 +46,7 @@ class JuliusBaerApiClient:
|
||||
logging.error(f"[!] Failed to start game session: {e}")
|
||||
raise
|
||||
|
||||
def make_decision(self, game_decision_request: GameDecisionRequestDTO) -> GameDecisionResponseDTO:
|
||||
def send_decision(self, game_decision_request: GameDecisionRequestDTO) -> GameDecisionResponseDTO:
|
||||
"""
|
||||
Make a game decision (Accept or Reject).
|
||||
"""
|
||||
|
@ -28,7 +28,7 @@ class Player:
|
||||
client_id=start_response.client_id,
|
||||
)
|
||||
|
||||
decision_response = self.client.make_decision(payload)
|
||||
decision_response = self.client.send_decision(payload)
|
||||
logging.info(decision_response)
|
||||
status = decision_response.status
|
||||
decision = self.make_decision(decision_response.client_data)
|
||||
|
Reference in New Issue
Block a user