Sha256: 48391accccc0f395ce1441ca0ae019d69f95325ae7b81001c80477896a7ad0fa
Contents?: true
Size: 642 Bytes
Versions: 6
Compression:
Stored size: 642 Bytes
Contents
class LessNeglectApi::Client def create_message(person, message) params = { :person => person.as_json, :event => message.as_json } data = post_request("/events", params) end def create_action_event(person, action_event) params = { :person => person.as_json, :event => action_event.as_json } data = post_request("/events", params) end def update_person(person) params = { :person => person.as_json } data = post_request("/people", params) end def tickets data = get_request("/tickets") end end
Version data entries
6 entries across 6 versions & 1 rubygems