trophy_api_client 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bb50b78377373fe998de76dec582b9849dae850ff8ea926318ae361924833e8
4
- data.tar.gz: 035d6798383c8612d08f8c8c3a954e7425d25526dabae8c4e63ac5884cc7096a
3
+ metadata.gz: 41b13c271b0fdb5a50abd095f29e33f0f3619e526c86ebb6a7e199f94d414442
4
+ data.tar.gz: 2ccc3ab43e106bf29f0937115c41b6d335064df134e90fa9779c99ac7e34920b
5
5
  SHA512:
6
- metadata.gz: 592ea29e76efc5c383d92263d108698a0b8175077c8ddd6682f2fd7f1fde41f92e4b57811e05ac76e57fd1eadc0711d0aefe4267ef2eb37b9cda732f1dc56cea
7
- data.tar.gz: 75899f9e4d97c32499853c25027cd0560dbab159573de0bed2bf7e1e348c1e37b3902528cdb884b01610eea9145c938fa7e19aa079723b7424e7472732007bcf
6
+ metadata.gz: 6ce2e3e945b755c71a2ff6935a1c805da673973968bdad4c322d04bd1cb1b3d8d712d8119a253556498893efdf2d43a1a6d23cdaa47c40fbb71bbdea610504cd
7
+ data.tar.gz: f79af533a1669fe538de22ed65bf95c3966b137f07bd6498a87e6940e561ba988909c83cdb1406f05c6a91ad72eddb26fe118c52a4c4a838d1499ae3c78664f2
data/lib/gemconfig.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module TrophyApiClient
4
4
  module Gemconfig
5
- VERSION = "1.0.6"
5
+ VERSION = "1.0.7"
6
6
  AUTHORS = ["Trophy Labs, Inc"].freeze
7
7
  EMAIL = ""
8
8
  SUMMARY = "Ruby library for the Trophy API."
@@ -134,8 +134,8 @@ module TrophyApiClient
134
134
  # environment: TrophyApiClient::Environment::DEFAULT,
135
135
  # api_key: "YOUR_API_KEY"
136
136
  # )
137
- # api.users.allmetrics(id: "userId")
138
- def allmetrics(id:, request_options: nil)
137
+ # api.users.all_metrics(id: "userId")
138
+ def all_metrics(id:, request_options: nil)
139
139
  response = @request_client.conn.get do |req|
140
140
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
141
141
  req.headers["X-API-KEY"] = request_options.api_key unless request_options&.api_key.nil?
@@ -171,8 +171,8 @@ module TrophyApiClient
171
171
  # environment: TrophyApiClient::Environment::DEFAULT,
172
172
  # api_key: "YOUR_API_KEY"
173
173
  # )
174
- # api.users.singlemetric(id: "userId", key: "key")
175
- def singlemetric(id:, key:, request_options: nil)
174
+ # api.users.single_metric(id: "userId", key: "key")
175
+ def single_metric(id:, key:, request_options: nil)
176
176
  response = @request_client.conn.get do |req|
177
177
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
178
178
  req.headers["X-API-KEY"] = request_options.api_key unless request_options&.api_key.nil?
@@ -203,8 +203,8 @@ module TrophyApiClient
203
203
  # environment: TrophyApiClient::Environment::DEFAULT,
204
204
  # api_key: "YOUR_API_KEY"
205
205
  # )
206
- # api.users.allachievements(id: "userId")
207
- def allachievements(id:, request_options: nil)
206
+ # api.users.all_achievements(id: "userId")
207
+ def all_achievements(id:, request_options: nil)
208
208
  response = @request_client.conn.get do |req|
209
209
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
210
210
  req.headers["X-API-KEY"] = request_options.api_key unless request_options&.api_key.nil?
@@ -393,8 +393,8 @@ module TrophyApiClient
393
393
  # environment: TrophyApiClient::Environment::DEFAULT,
394
394
  # api_key: "YOUR_API_KEY"
395
395
  # )
396
- # api.users.allmetrics(id: "userId")
397
- def allmetrics(id:, request_options: nil)
396
+ # api.users.all_metrics(id: "userId")
397
+ def all_metrics(id:, request_options: nil)
398
398
  Async do
399
399
  response = @request_client.conn.get do |req|
400
400
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -432,8 +432,8 @@ module TrophyApiClient
432
432
  # environment: TrophyApiClient::Environment::DEFAULT,
433
433
  # api_key: "YOUR_API_KEY"
434
434
  # )
435
- # api.users.singlemetric(id: "userId", key: "key")
436
- def singlemetric(id:, key:, request_options: nil)
435
+ # api.users.single_metric(id: "userId", key: "key")
436
+ def single_metric(id:, key:, request_options: nil)
437
437
  Async do
438
438
  response = @request_client.conn.get do |req|
439
439
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -466,8 +466,8 @@ module TrophyApiClient
466
466
  # environment: TrophyApiClient::Environment::DEFAULT,
467
467
  # api_key: "YOUR_API_KEY"
468
468
  # )
469
- # api.users.allachievements(id: "userId")
470
- def allachievements(id:, request_options: nil)
469
+ # api.users.all_achievements(id: "userId")
470
+ def all_achievements(id:, request_options: nil)
471
471
  Async do
472
472
  response = @request_client.conn.get do |req|
473
473
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -1,3 +1,3 @@
1
1
  module MyGem
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trophy_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trophy Labs, Inc