Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add grouping column setting #3

Merged
merged 3 commits into from
Dec 4, 2015
Merged

add grouping column setting #3

merged 3 commits into from
Dec 4, 2015

Conversation

takkanm
Copy link
Contributor

@takkanm takkanm commented Dec 3, 2015

http://kb.mailchimp.com/segments/add-groups-to-a-list

supoort subscribe group.
grouping_columns specifies group details in the array.
If, row has column name include grouping_columns,
column value used group names.
The value of the column is more that can be specified in a
comma-separated

http://kb.mailchimp.com/segments/add-groups-to-a-list

supoort subscribe group.
`grouping_columns`  specifies group details in the array.
If, row has column name include `grouping_columns`,
column value used group names.
The value of the column is more that can be specified in a
comma-separated
@@ -21,6 +21,7 @@ add e-mail to List in MailChimp.
- **email_column**: column name for email (string, default: 'email')
- **fname_column**: column name for first name (string, default: 'fname')
- **lname_column**: column name for last name(string, default: 'lname')
- **grouping_columns**: column names array for group name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(array, default: nil) is more kindly describe :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added !

@uu59
Copy link
Contributor

uu59 commented Dec 4, 2015

Some validations to detect misconfigured grouping_columns e.g. grouping_columns: foo(String) is more kindly and robust.

Update: config.param already did it. sorry my wrong 🙇

@@ -21,6 +21,7 @@ add e-mail to List in MailChimp.
- **email_column**: column name for email (string, default: 'email')
- **fname_column**: column name for first name (string, default: 'fname')
- **lname_column**: column name for last name(string, default: 'lname')
- **grouping_columns**: column names array for group name(array, debfault: nil)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo 😢 > debfault

@uu59
Copy link
Contributor

uu59 commented Dec 4, 2015

I commented some points, otherwise LGTM.

@takkanm
Copy link
Contributor Author

takkanm commented Dec 4, 2015

Thank you for review. I'll merge it.

takkanm added a commit that referenced this pull request Dec 4, 2015
@takkanm takkanm merged commit f38ca1a into master Dec 4, 2015
@minidragon88 minidragon88 deleted the add_grouping_setting branch May 19, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants