trophy_api_client 1.0.15 → 1.0.16

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: 22ca6e786e9465669d99a5dd95d0f47dd3d6540745460229ba9c653c625684ca
4
- data.tar.gz: 3a67f087e27f20ab7920dcafef051e75957479df65428f8ac39b23f057f492ce
3
+ metadata.gz: 0e0cb9083ad13f0936866cb3cd187668c44a48319101f534f26be993c3b7a6ba
4
+ data.tar.gz: aea39388ceb4480939d7e60c8787ba4580ba19426bd5c6e69f1be56577092549
5
5
  SHA512:
6
- metadata.gz: fec6c773ef0ffebdf10b3355052af939e2f99ac6c48ea2ffcd97e0225a57b96c98a4bd854b02a4de6979afbe6f429dbb9b91172f3d3d70be4a54a1b02c0f7081
7
- data.tar.gz: 3047ca7d0d760b50297500768280b8a3226e52ec38e56d1476cc4aa809875b8fa18dfe086456a3a680e7b1aa08379c7675a25cb8c0bd12955ed2b708c68b716d
6
+ metadata.gz: 5cbbda4b7db4097d0c473cf45ce3c2929505ca4cfb302f0ec717e0fd1ed1e39cde890c1d48ca17055e96a0e3a9266cfebbdb077dc3f72c7e0c1db22dbf4f477d
7
+ data.tar.gz: cd5cd1fa2968dbdf1da48d7d9b5894b8a64a5e98086149e805e4bb974e658f7f78027ee483933c123f5115c3056a88d60441c13623f5b59f6ce00ec9b5ee83e0
data/lib/gemconfig.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module TrophyApiClient
4
4
  module Gemconfig
5
- VERSION = "1.0.15"
5
+ VERSION = "1.0.16"
6
6
  AUTHORS = ["Trophy Labs, Inc"].freeze
7
7
  EMAIL = ""
8
8
  SUMMARY = "Ruby library for the Trophy API."
@@ -14,8 +14,8 @@ module TrophyApiClient
14
14
  attr_reader :tz
15
15
  # @return [Array<String>] The user's device tokens, used for push notifications.
16
16
  attr_reader :device_tokens
17
- # @return [Boolean] Whether the user should receive Trophy-powered emails. Cannot be false if an
18
- # email is provided.
17
+ # @return [Boolean] Whether the user should receive Trophy-powered emails. If false, Trophy will not
18
+ # store the user's email address.
19
19
  attr_reader :subscribe_to_emails
20
20
  # @return [OpenStruct] Additional properties unmapped to the current class definition
21
21
  attr_reader :additional_properties
@@ -29,8 +29,8 @@ module TrophyApiClient
29
29
  # @param name [String] The name to refer to the user by in emails.
30
30
  # @param tz [String] The user's timezone (used for email scheduling).
31
31
  # @param device_tokens [Array<String>] The user's device tokens, used for push notifications.
32
- # @param subscribe_to_emails [Boolean] Whether the user should receive Trophy-powered emails. Cannot be false if an
33
- # email is provided.
32
+ # @param subscribe_to_emails [Boolean] Whether the user should receive Trophy-powered emails. If false, Trophy will not
33
+ # store the user's email address.
34
34
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
35
35
  # @return [TrophyApiClient::UpdatedUser]
36
36
  def initialize(email: OMIT, name: OMIT, tz: OMIT, device_tokens: OMIT, subscribe_to_emails: OMIT,
@@ -16,8 +16,8 @@ module TrophyApiClient
16
16
  attr_reader :tz
17
17
  # @return [Array<String>] The user's device tokens, used for push notifications.
18
18
  attr_reader :device_tokens
19
- # @return [Boolean] Whether the user should receive Trophy-powered emails. Cannot be false if an
20
- # email is provided.
19
+ # @return [Boolean] Whether the user should receive Trophy-powered emails. If false, Trophy will not
20
+ # store the user's email address.
21
21
  attr_reader :subscribe_to_emails
22
22
  # @return [OpenStruct] Additional properties unmapped to the current class definition
23
23
  attr_reader :additional_properties
@@ -32,8 +32,8 @@ module TrophyApiClient
32
32
  # @param name [String] The name to refer to the user by in emails.
33
33
  # @param tz [String] The user's timezone (used for email scheduling).
34
34
  # @param device_tokens [Array<String>] The user's device tokens, used for push notifications.
35
- # @param subscribe_to_emails [Boolean] Whether the user should receive Trophy-powered emails. Cannot be false if an
36
- # email is provided.
35
+ # @param subscribe_to_emails [Boolean] Whether the user should receive Trophy-powered emails. If false, Trophy will not
36
+ # store the user's email address.
37
37
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
38
38
  # @return [TrophyApiClient::UpsertedUser]
39
39
  def initialize(id:, email: OMIT, name: OMIT, tz: OMIT, device_tokens: OMIT, subscribe_to_emails: OMIT,
@@ -24,8 +24,8 @@ module TrophyApiClient
24
24
  attr_reader :tz
25
25
  # @return [Array<String>] The user's device tokens, used for push notifications.
26
26
  attr_reader :device_tokens
27
- # @return [Boolean] Whether the user should receive Trophy-powered emails. Cannot be false if an
28
- # email is provided.
27
+ # @return [Boolean] Whether the user should receive Trophy-powered emails. If false, Trophy will not
28
+ # store the user's email address.
29
29
  attr_reader :subscribe_to_emails
30
30
  # @return [OpenStruct] Additional properties unmapped to the current class definition
31
31
  attr_reader :additional_properties
@@ -44,8 +44,8 @@ module TrophyApiClient
44
44
  # @param name [String] The name to refer to the user by in emails.
45
45
  # @param tz [String] The user's timezone (used for email scheduling).
46
46
  # @param device_tokens [Array<String>] The user's device tokens, used for push notifications.
47
- # @param subscribe_to_emails [Boolean] Whether the user should receive Trophy-powered emails. Cannot be false if an
48
- # email is provided.
47
+ # @param subscribe_to_emails [Boolean] Whether the user should receive Trophy-powered emails. If false, Trophy will not
48
+ # store the user's email address.
49
49
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
50
50
  # @return [TrophyApiClient::User]
51
51
  def initialize(id:, control: OMIT, created: OMIT, updated: OMIT, email: OMIT, name: OMIT, tz: OMIT,
@@ -1,3 +1,3 @@
1
1
  module MyGem
2
- VERSION = "1.0.15"
2
+ VERSION = "1.0.16"
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.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trophy Labs, Inc