Class: EventbriteRuby::Event
- Inherits:
-
Object
- Object
- EventbriteRuby::Event
- Defined in:
- lib/eventbrite_ruby/event.rb
Class Method Summary collapse
-
.create(params = {}) ⇒ Object
Makes a new event, and returns an event for the specified event.
-
.find(params = {}) ⇒ Object
Updates an event.
-
.search(params = {}) ⇒ Object
Allows you to retrieve a paginated response of public event objects from across Eventbrite’s directory.
- .update_event(params = {}) ⇒ Object
Class Method Details
.create(params = {}) ⇒ Object
Makes a new event, and returns an event for the specified event. Does not support the creation of repeating event series.
11 12 13 |
# File 'lib/eventbrite_ruby/event.rb', line 11 def create(params = {}) client.post("v3/events/", params) end |
.find(params = {}) ⇒ Object
Updates an event. Returns an event for the specified event. Does not support updating a repeating event series parent (see POST /series/:id/).
16 17 18 |
# File 'lib/eventbrite_ruby/event.rb', line 16 def find(params = {}) client.get("v3/events/", params) end |
.search(params = {}) ⇒ Object
Allows you to retrieve a paginated response of public event objects from across Eventbrite’s directory
6 7 8 |
# File 'lib/eventbrite_ruby/event.rb', line 6 def search(params = {}) client.get("v3/events/search/", params) end |
.update_event(params = {}) ⇒ Object
20 21 22 |
# File 'lib/eventbrite_ruby/event.rb', line 20 def update_event(params = {}) client.post("v3/events/", params) end |