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

Issues with the orientation parameter: returning invalid value #87

Open
JoshLedgard opened this issue Oct 4, 2023 · 0 comments
Open

Comments

@JoshLedgard
Copy link

Steps to Reproduce

  1. Tried: Unsplash::Photo.search("cat", 1, 5, orientation: :landscape)
    Unsplash::Error: orientation is invalid, orientation does not have a valid value
    from /Users/joshledgard/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unsplash-3.1.1/lib/unsplash/connection.rb:152:in `request'

  2. Tried Unsplash::Photo.search("cat", 1, 5, 'landscape')

WARN -- : The tags property in this endpoint is deprecated. https://changelog.unsplash.com/deprecations/2021/07/12/tags-search-deprecation.html

Observed Behaviour

See the error message and the warning above for the two calls.

Expected Behaviour

A way to set an orientation.

Technical Notes

using latest 3.1.1.

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

No branches or pull requests

1 participant