growsurf-ruby 1.8.0 → 1.8.1
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 +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/growsurf_ruby/models/campaign_create_params.rb +19 -11
- data/lib/growsurf_ruby/resources/campaign.rb +1 -1
- data/lib/growsurf_ruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cc9cb8240076dada54cb5c6791f162c599eb3963e13e2baec3d2f7e2afcf66e
|
|
4
|
+
data.tar.gz: a631c70f08428385f1bb0afaf6c218b88354804e1a6908ad95a081d87745100d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d5b8aa05bdd8fdf3fbf6822a696c5d76a041e29af11d7e5b7b469067d80c25074bb6324e4fc6f2e756f479917fac70f4dcd6b032a92891734bfaca5f0ba951b
|
|
7
|
+
data.tar.gz: ce692094a359a416f1441881afbd73880fa1a73abf7f74c722e6832f02c210c211d3658a4c5d6bec94ad60df3d98a7c295060229277069c15900b7086c8bc87f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.8.1](https://github.com/growsurf/growsurf-ruby/compare/v1.8.0...v1.8.1) (2026-09-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Chores
|
|
7
|
+
|
|
8
|
+
* merge dev into main ([f954268](https://github.com/growsurf/growsurf-ruby/commit/f954268c05141b1eaf2b0b12c505b4fb212e4a61))
|
|
9
|
+
* merge dev into main ([36ac45a](https://github.com/growsurf/growsurf-ruby/commit/36ac45a41e8df7d0484fc3adf3f9b40f37e34eda))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Documentation
|
|
13
|
+
|
|
14
|
+
* **api:** document the starter rewards each campaign goal seeds ([f33a807](https://github.com/growsurf/growsurf-ruby/commit/f33a807119d979c67fd0e9e10744aae96c74ee9d))
|
|
15
|
+
* **api:** document the starter rewards each campaign goal seeds ([41c4330](https://github.com/growsurf/growsurf-ruby/commit/41c4330aad6022de40dbb96a237a8fef644b0be0))
|
|
16
|
+
|
|
3
17
|
## [1.8.0](https://github.com/growsurf/growsurf-ruby/compare/v1.7.1...v1.8.0) (2026-09-19)
|
|
4
18
|
|
|
5
19
|
|
data/README.md
CHANGED
|
@@ -28,15 +28,23 @@ module GrowsurfRuby
|
|
|
28
28
|
optional :currency_iso, String, api_name: :currencyISO
|
|
29
29
|
|
|
30
30
|
# @!attribute goal
|
|
31
|
-
# What the program is for, which seeds share
|
|
32
|
-
# Programs whose participants refer other businesses
|
|
33
|
-
# `
|
|
34
|
-
# with the LinkedIn share button visible;
|
|
35
|
-
# insurance, telehealth, newsletter, and
|
|
36
|
-
#
|
|
37
|
-
# `
|
|
38
|
-
#
|
|
39
|
-
#
|
|
31
|
+
# What the program is for, which seeds the share buttons and the starter rewards
|
|
32
|
+
# that suit that audience. Programs whose participants refer other businesses
|
|
33
|
+
# (`CUSTOMERS`, `USERS`, `B2B_SAAS_SELF_SERVICE`, `B2B_SAAS_ENTERPRISE`,
|
|
34
|
+
# `HEALTHCARE_PROVIDERS`) start with the LinkedIn share button visible;
|
|
35
|
+
# consumer, financial, education, insurance, telehealth, newsletter, and
|
|
36
|
+
# waitlist programs (`B2C_SUBSCRIPTIONS`, `FINANCIAL_SERVICES`,
|
|
37
|
+
# `ONLINE_EDUCATION`, `INSURANCE`, `ONLINE_INSURANCE`, `TELEHEALTH`,
|
|
38
|
+
# `SUBSCRIBERS`, `WAITLIST`) start with it hidden, and on a referral program
|
|
39
|
+
# each goal also sets the rest of its share buttons to suit that audience. When
|
|
40
|
+
# you create a referral program without `rewards`, the goal also decides the
|
|
41
|
+
# starter rewards: most goals get one double-sided reward,
|
|
42
|
+
# `HEALTHCARE_PROVIDERS` gets a single-sided reward, `SUBSCRIBERS` gets a
|
|
43
|
+
# four-step milestone ladder, and `WAITLIST` gets a leaderboard. Every one
|
|
44
|
+
# arrives switched off with a placeholder name, so the program awards nothing
|
|
45
|
+
# until you set the amount and turn one on. `TELEHEALTH` is for consumer
|
|
46
|
+
# telehealth and wellness subscriptions; `HEALTHCARE_PROVIDERS` is for provider
|
|
47
|
+
# networks and clinician-facing products. `INSURANCE` replaces
|
|
40
48
|
# `ONLINE_INSURANCE`, which is still accepted. Omit it and every share button
|
|
41
49
|
# keeps its standard default. Set only when the program is created; it is not
|
|
42
50
|
# accepted on update.
|
|
@@ -64,7 +72,7 @@ module GrowsurfRuby
|
|
|
64
72
|
#
|
|
65
73
|
# @param currency_iso [String]
|
|
66
74
|
#
|
|
67
|
-
# @param goal [Symbol, GrowsurfRuby::Models::CampaignCreateParams::Goal] What the program is for, which seeds share
|
|
75
|
+
# @param goal [Symbol, GrowsurfRuby::Models::CampaignCreateParams::Goal] What the program is for, which seeds the share buttons and the starter rewards that suit that audience.
|
|
68
76
|
#
|
|
69
77
|
# @param name [String]
|
|
70
78
|
#
|
|
@@ -83,7 +91,7 @@ module GrowsurfRuby
|
|
|
83
91
|
# @return [Array<Symbol>]
|
|
84
92
|
end
|
|
85
93
|
|
|
86
|
-
# What the program is for, which seeds share
|
|
94
|
+
# What the program is for, which seeds the share buttons and the starter rewards that suit that audience.
|
|
87
95
|
#
|
|
88
96
|
# @see GrowsurfRuby::Models::CampaignCreateParams#goal
|
|
89
97
|
module Goal
|
|
@@ -97,7 +97,7 @@ module GrowsurfRuby
|
|
|
97
97
|
#
|
|
98
98
|
# @param currency_iso [String] ISO 4217 currency code. Defaults to USD. Chosen when the program is created and immutable afterward — it cannot be changed on update.
|
|
99
99
|
#
|
|
100
|
-
# @param goal [Symbol, GrowsurfRuby::Models::CampaignCreateParams::Goal] What the program is for, which seeds share
|
|
100
|
+
# @param goal [Symbol, GrowsurfRuby::Models::CampaignCreateParams::Goal] What the program is for, which seeds the share buttons and the starter rewards that suit that audience. Programs whose participants refer other businesses start with the LinkedIn share button visible; consumer, financial, education, insurance, telehealth, newsletter, and waitlist programs start with it hidden. Starter rewards arrive switched off with a placeholder name, so the program awards nothing until you set the amount and turn one on. Set only when the program is created.
|
|
101
101
|
#
|
|
102
102
|
# @param name [String] The program name. Defaults to a generated friendly label plus the creation date.
|
|
103
103
|
#
|