Server
Wraps API server information.
Example
ruby
api.info.servers.each do |server|
puts server.url # => "https://api.example.com"
puts server.description # => "Production server"
endInstance Methods
#description
#description
The server description.
Returns
String, nil
#to_h
#to_h
Converts this server to a hash.
Returns
Hash
#url
#url
The server URL.
Returns
String, nil