Module: Jibeset::Client::Entries

Included in:
Jibeset::Client
Defined in:
lib/jibeset/client/entries.rb

Instance Method Summary collapse

Instance Method Details

#entries(payload = {}) ⇒ Object



9
10
11
# File 'lib/jibeset/client/entries.rb', line 9

def entries(payload={})
  get("/events/#{payload[:event_id]}/entries")
end

#register(payload) ⇒ Object



5
6
7
# File 'lib/jibeset/client/entries.rb', line 5

def register(payload)
  post("/events/#{payload[:event_id]}/entries", payload)
end