class Twitch::Bot::Message::Ping

This class stores the details of a Ping event.

Attributes

hostname[R]

Public Class Methods

new(hostname:) click to toggle source
# File lib/twitch/bot/message.rb, line 27
def initialize(hostname:)
  @hostname = hostname
  @type = :ping
end