Skip to content

Add ActiveResource::Base.collection_url #426

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seanpdoyle
Copy link

Introduce the .collection_url method to leverage the collection_path method and to complement the pre-existing element_url and element_path pairing.

Introduce the `.collection_url` method to leverage the
[collection_path][] method and to complement the pre-existing
[element_url][] and [element_path][] pairing.

[collection_path]: https://rubydoc.info/gems/activeresource/ActiveResource/Base#collection_path-class_method
[element_path]: https://rubydoc.info/gems/activeresource/ActiveResource/Base#element_path-class_method
[element_url]: https://rubydoc.info/gems/activeresource/ActiveResource/Base#element_url-class_method
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.

1 participant