class Caldera::Events::WebSocketClosed

Attributes

by_remote[R]

@returns [true, false]

by_remote?[R]

@returns [true, false]

code[R]

@returns [Integer]

guild_id[R]

@returns [String]

reason[R]

@returns [String]

Public Class Methods

new(data, _player) click to toggle source
# File lib/caldera/events.rb, line 61
def initialize(data, _player)
  @guild_id = data['guildId']
  @code = data['code']
  @reason = data['reason']
  @by_remote = data['byRemote']
end