Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Consider adding fetch to eventbrite_object.rb #9

@monkseal

Description

@monkseal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions