class Zype::LiveEvents
Read more at docs.zype.com/v1.0/reference#live-events
@since 0.1.0
Public Instance Methods
archive(id:)
click to toggle source
Archives the live event
@param id [String] the ID of the live event @return [Hash] the live event
# File lib/zype/models/live_events.rb, line 26 def archive(id:) client.execute(method: :put, path: "/live_events/#{id}/archive") end
start(id:)
click to toggle source
Starts broadcasting a live event
@param id [String] the ID of the live event @return [Hash] the live event
# File lib/zype/models/live_events.rb, line 10 def start(id:) client.execute(method: :put, path: "/live_events/#{id}/start") end
stop(id:)
click to toggle source
Stops broadcasting a live event
@param id [String] the ID of the live event @return [Hash] the live event
# File lib/zype/models/live_events.rb, line 18 def stop(id:) client.execute(method: :put, path: "/live_events/#{id}/stop") end