Sha256: 2ebb3bd84f82f280cdf4925b10eeae452f95f8fb2ecc6b40fb0c90bd1163b6de

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

module EventbriteRuby
  class Events

    def initialize
      @client = EventbriteRuby::Client.new
    end

    def search(params)
      @client.get("v3/events/search/", params)
    end

    def create(params)
      @client.post("v3/events/", params)
    end

    def find(id)
      @client.get("v3/events/", {id: id})
    end

    def update_event(params)
      @client.post("v3/events/", params)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eventbrite_ruby-0.0.1 lib/eventbrite_ruby/events.rb