Class: PalworldRcon::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/palworld_rcon/response.rb

Overview

RCRON response

Instance Method Summary collapse

Constructor Details

#initialize(rcon_response) ⇒ Response

Returns a new instance of Response.



6
7
8
# File 'lib/palworld_rcon/response.rb', line 6

def initialize(rcon_response)
  @rcon_response = rcon_response
end

Instance Method Details

#bodyObject



10
11
12
# File 'lib/palworld_rcon/response.rb', line 10

def body
  rcon_response.body
end