module Frequencyio
Constants
- API_VERSION
- BASE_URL
- VERSION
Public Class Methods
event(channel, token, message)
click to toggle source
# File lib/frequencyio.rb, line 11 def event(channel, token, message) Thread.new do uri = URI("#{BASE_URL}/api/#{API_VERSION}/channels/#{channel}/events") res = Net::HTTP.post_form(uri, token: token, title: message) end end