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

Tickets and tasks #24

Merged
merged 21 commits into from
Nov 8, 2024
Merged

Tickets and tasks #24

merged 21 commits into from
Nov 8, 2024

Conversation

Paul-Yves
Copy link

Adding Task and Ticket endpoints and cleaning up some deprecated things

@Paul-Yves Paul-Yves self-assigned this Nov 7, 2024
@Paul-Yves Paul-Yves added the enhancement New feature or request label Nov 7, 2024
"associationTypeId": Hubspot::Association::ASSOCIATION_DEFINITIONS['Task']['Ticket'] } ]
}
end
properties = { hs_task_status: 'NOT_STARTED', hs_task_type: 'TODO' }.merge(params)
Copy link
Author

Choose a reason for hiding this comment

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

Not sure if the gem should make this kind of assumptions, but also I find them quite logical default values

Copy link

Choose a reason for hiding this comment

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

We'll review a PR adding parameters once someone needs them 😇

Copy link

Choose a reason for hiding this comment

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

also it's already overridable in params ¯\_(ツ)_/¯

Copy link

@fonji fonji left a comment

Choose a reason for hiding this comment

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

haven't reviewed the specs yet

.github/workflows/actions.yml Outdated Show resolved Hide resolved
lib/hubspot/connection.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/task.rb Outdated Show resolved Hide resolved
spec/lib/hubspot/task_spec.rb Outdated Show resolved Hide resolved
spec/lib/hubspot/task_spec.rb Show resolved Hide resolved
spec/lib/hubspot/ticket_properties_spec.rb Outdated Show resolved Hide resolved
spec/lib/hubspot/ticket_properties_spec.rb Show resolved Hide resolved
Copy link

@fonji fonji left a comment

Choose a reason for hiding this comment

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

sorry for the batched reviews 🙈

"associationTypeId": Hubspot::Association::ASSOCIATION_DEFINITIONS['Task']['Ticket'] } ]
}
end
properties = { hs_task_status: 'NOT_STARTED', hs_task_type: 'TODO' }.merge(params)
Copy link

Choose a reason for hiding this comment

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

also it's already overridable in params ¯\_(ツ)_/¯

lib/hubspot/ticket.rb Outdated Show resolved Hide resolved
lib/hubspot/connection.rb Outdated Show resolved Hide resolved
spec/lib/hubspot/task_spec.rb Show resolved Hide resolved
@Paul-Yves Paul-Yves merged commit 45531e9 into master Nov 8, 2024
2 checks passed
@Paul-Yves Paul-Yves deleted the tickets_and_tasks branch November 8, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants