Sha256: 3392d20dc6529c618e0e4491ed6d42015311e888bc4d9c218f987b3896cd8372
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 Bytes
Contents
module EventbriteRuby class Event class << self # Allows you to retrieve a paginated response of public event objects from across Eventbrite’s directory def search(params = {}) client.get("v3/events/search/", params) end # Makes a new event, and returns an event for the specified event. Does not support the creation of repeating event series. def create(params = {}) client.post("v3/events/", params) end # Updates an event. Returns an event for the specified event. Does not support updating a repeating event series parent (see POST /series/:id/). def find(params = {}) client.get("v3/events/", params) end def update_event(params = {}) client.post("v3/events/", params) end private def client EventbriteRuby::Client.new end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eventbrite_ruby-0.1.3 | lib/eventbrite_ruby/event.rb |