Class: Spikard::ServerInfo

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeServerInfo

Returns a new instance of ServerInfo.

Parameters:

  • url: (String)
  • description: (String)


381
# File 'sig/types.rbs', line 381

def initialize: (url: String, ?description: String) -> void

Instance Attribute Details

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


379
380
381
# File 'sig/types.rbs', line 379

def description
  @description
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


378
379
380
# File 'sig/types.rbs', line 378

def url
  @url
end