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

Consider adding fetch to eventbrite_object.rb #9

Open
monkseal opened this issue Sep 8, 2015 · 0 comments
Open

Consider adding fetch to eventbrite_object.rb #9

monkseal opened this issue Sep 8, 2015 · 0 comments

Comments

@monkseal
Copy link
Contributor

monkseal commented Sep 8, 2015

First of all, great gem

Was wondering if you had considered adding a method to eventbrite_object api that would delegate to Hash#fetch?

This could be handly if I do something like:

if eventbrite_event.fetch('logo', {})[:url].present?
...
end

http://ruby-doc.org/core-2.2.0/Hash.html#method-i-fetch

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