module LearnWeb::Client::Event
Constants
- IRONBROKER_URL
Attributes
client[R]
Public Instance Methods
submission_endpoint()
click to toggle source
# File lib/learn_web/client/event.rb, line 16 def submission_endpoint '/e/learn_gem' end
submit_event(params)
click to toggle source
# File lib/learn_web/client/event.rb, line 20 def submit_event(params) response = post( submission_endpoint, body: params, client: client ) LearnWeb::Client::Event::Submission.new(response) end