Sha256: 2125a917b4e4d85c1076c870d8be8b06456c7e582dc6ed8bea1833c78c4c09db
Contents?: true
Size: 403 Bytes
Versions: 8
Compression:
Stored size: 403 Bytes
Contents
module Eventbrite module Api module Model class Event < Base def model_route 'events' end def search(opts={}) self.get(opts, 'search') end def publish(id) self.update("#{id}/publish", {}, {}) end def unpublish(id) self.update("#{id}/unpublish", {}, {}) end end end end end
Version data entries
8 entries across 8 versions & 2 rubygems