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 more associations to tasks #26

Merged
merged 7 commits into from
Nov 21, 2024
Merged

Conversation

Paul-Yves
Copy link

We may need more association in task creation

@Paul-Yves Paul-Yves requested review from fonji and ndmt November 20, 2024 14:13
ndmt
ndmt previously approved these changes Nov 21, 2024
lib/hubspot/task.rb Outdated Show resolved Hide resolved
lib/hubspot/task.rb Outdated Show resolved Hide resolved
lib/hubspot/utils.rb Outdated Show resolved Hide resolved
lib/hubspot/utils.rb Outdated Show resolved Hide resolved
@Paul-Yves Paul-Yves requested review from ndmt and fonji November 21, 2024 13:07
lib/hubspot/association.rb Outdated Show resolved Hide resolved
lib/hubspot/association.rb Outdated Show resolved Hide resolved
lib/hubspot/task.rb Outdated Show resolved Hide resolved
lib/hubspot/task.rb Outdated Show resolved Hide resolved
lib/hubspot/ticket.rb Outdated Show resolved Hide resolved
Comment on lines +10 to +13
Hubspot::Association.build_association_param('Task', 'Ticket', 16_174_569_112),
Hubspot::Association.build_association_param('Task', 'Contact', 75_761_595_194),
Hubspot::Association.build_association_param('Task', 'Company', 25_571_271_600),
Hubspot::Association.build_association_param('Task', 'Deal', 28_806_796_888),
Copy link

Choose a reason for hiding this comment

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

Still wondering if we should do a helper method in Association that would receive something like

Hubspot::Association.build_association_params('Task', ['Ticket', 16_174_569_112], ['Contact', 75_761_595_194], ...)

etc
that would do the multiple lines

@Paul-Yves Paul-Yves merged commit 08acce2 into master Nov 21, 2024
2 checks passed
@Paul-Yves Paul-Yves deleted the add_more_associations_to_tasks branch November 21, 2024 13:29
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.

3 participants