Skip to content

Commit

Permalink
nit: fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed May 16, 2024
1 parent bab6ce7 commit 33f4205
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/experiment/remote/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def initialize(api_key, config = nil)
raise ArgumentError, 'Experiment API key is empty' if @api_key.nil? || @api_key.empty?
end

# Fetch all variants for a user synchronous.
# Fetch all variants for a user synchronously.
#
# This method will automatically retry if configured (default).
# @param [User] user
Expand All @@ -36,7 +36,7 @@ def fetch(user)
{}
end

# Fetch all variants for a user synchronous.
# Fetch all variants for a user synchronously.
#
# This method will automatically retry if configured (default). This function differs from fetch as it will
# return a default variant object if the flag was evaluated but the user was not assigned (i.e. off).
Expand All @@ -49,7 +49,7 @@ def fetch_v2(user)
{}
end

# Fetch all variants for a user asynchronous.
# Fetch all variants for a user asynchronously.
#
# This method will automatically retry if configured (default).
# @param [User] user
Expand All @@ -66,7 +66,7 @@ def fetch_async(user, &callback)
end
end

# Fetch all variants for a user asynchronous. This function differs from fetch as it will
# Fetch all variants for a user asynchronously. This function differs from fetch as it will
# return a default variant object if the flag was evaluated but the user was not assigned (i.e. off).
#
# This method will automatically retry if configured (default).
Expand Down

0 comments on commit 33f4205

Please sign in to comment.