Skip to content

Commit 5f4a48b

Browse files
Automatically update Ruby SDK
1 parent 288e771 commit 5f4a48b

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

lib/gemconfig.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module TrophyApiClient
44
module Gemconfig
5-
VERSION = "1.0.32"
5+
VERSION = "1.0.34"
66
AUTHORS = ["Trophy Labs, Inc"].freeze
77
EMAIL = ""
88
SUMMARY = "Ruby library for the Trophy API."

lib/trophy_api_client/types/event_response.rb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ class EventResponse
1717
attr_reader :achievements
1818
# @return [TrophyApiClient::MetricEventStreakResponse] The user's current streak.
1919
attr_reader :current_streak
20-
# @return [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key.
20+
# @return [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key. Only contains points systems that were affected
21+
# by the event.
2122
attr_reader :points
22-
# @return [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key.
23+
# @return [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key. Only contains leaderboards that were affected by
24+
# the event.
2325
attr_reader :leaderboards
2426
# @return [String] The idempotency key used for the event, if one was provided.
2527
attr_reader :idempotency_key
@@ -38,8 +40,10 @@ class EventResponse
3840
# @param total [Float] The user's new total progress against the metric.
3941
# @param achievements [Array<TrophyApiClient::CompletedAchievementResponse>] Achievements completed as a result of this event.
4042
# @param current_streak [TrophyApiClient::MetricEventStreakResponse] The user's current streak.
41-
# @param points [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key.
42-
# @param leaderboards [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key.
43+
# @param points [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key. Only contains points systems that were affected
44+
# by the event.
45+
# @param leaderboards [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key. Only contains leaderboards that were affected by
46+
# the event.
4347
# @param idempotency_key [String] The idempotency key used for the event, if one was provided.
4448
# @param idempotent_replayed [Boolean] Whether the event was replayed due to idempotency.
4549
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition

lib/trophy_api_client/types/streak_frequency.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ class StreakFrequency
55
DAILY = "daily"
66
WEEKLY = "weekly"
77
MONTHLY = "monthly"
8-
YEARLY = "yearly"
98
end
109
end

lib/trophy_api_client/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module MyGem
2-
VERSION = "1.0.32"
2+
VERSION = "1.0.34"
33
end

0 commit comments

Comments
 (0)