class DirectAdmin::Client
Attributes
password[RW]
Password to authenticate with
server_password[RW]
Password to authenticate with
server_url[RW]
URL of the DirectAdmin
server
server_username[RW]
Username to authenticate with
url[RW]
URL of the DirectAdmin
server
username[RW]
Username to authenticate with
Public Class Methods
new(url:, username:, password:)
click to toggle source
Create a new instance of the Client
Required Arguments¶ ↑
- :url
-
The url of the
DirectAdmin
server. - :username
-
A username to login as.
- :password
-
The password which correspondes to the username.
# File lib/direct_admin/client.rb, line 28 def initialize(url:, username:, password:) @url = url @username = username @password = password end