Class: ModSpox::Messages::Internal::StatusResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/mod_spox/messages/internal/StatusResponse.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#origin

Instance Method Summary collapse

Constructor Details

#initialize(object, status) ⇒ StatusResponse

object

Destination for response

status

Status of the bot

Send status response to requester



11
12
13
14
# File 'lib/mod_spox/messages/internal/StatusResponse.rb', line 11

def initialize(object, status)
    super(object)
    @status = status
end

Instance Attribute Details

#statusObject (readonly)

Current status of the bot



7
8
9
# File 'lib/mod_spox/messages/internal/StatusResponse.rb', line 7

def status
  @status
end