NG initialize
You could create a new NG object with the aid of the initialize method.
def initialize ng_ip_address, username, password, port=9501 |
Constructor parameters
Parameter name | Value | Description | Default value | Mandatory |
ng_ip_address | string value e.g. '192.168.0.1' |
IP address of Ozeki NG SMS Gateway. | (None) | Yes |
username | string value, e.g. 'admin' |
The username to connect Ozeki NG SMS Gateway. | (None) | Yes |
password | string value, e.g. 'password' |
The password for the given username. | (None) | Yes |
port | int value e.g. 9501 |
The Ozeki NG SMS Gateway listener port. | 9501 | No |
Example
ng = NG.new '192.168.0.1', 'admin', 'password' |