Sha256: d71fd0fba2d423854f5a2cab8ab192a9fbc164748465759177f98558a2e12080
Contents?: true
Size: 737 Bytes
Versions: 1
Compression:
Stored size: 737 Bytes
Contents
module Jibeset class Client module Events def events get("/events") end def event(payload) get("/events/#{payload[:id]}") end def event_entries(payload) get("/events/#{payload[:id]}/entries") end def event_fleets(payload) get("/events/#{payload[:id]}/fleets") end def create_event(payload) post("/events", payload) end def update_event(payload) put("/events/#{payload['id']}", payload) end def destroy_event(payload) delete("/events/#{payload['id']}") end def register_entry(payload) post("/events/#{payload[:event_id]}/entries", payload) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jibeset-0.2 | lib/jibeset/client/events.rb |