Class: PalworldRcon::Response
- Inherits:
-
Object
- Object
- PalworldRcon::Response
- Defined in:
- lib/palworld_rcon/response.rb
Overview
RCRON response
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(rcon_response) ⇒ Response
constructor
A new instance of Response.
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
#body ⇒ Object
10 11 12 |
# File 'lib/palworld_rcon/response.rb', line 10 def body rcon_response.body end |