Represents the proxy server configurations for API calls.
| Name | Type | Tag | Description |
|---|---|---|---|
| address | String |
required | The proxy server URL. |
| port | Integer |
optional | The port to connect to the proxy server. |
| username | String |
optional | Username for proxy authentication. |
| password | String |
optional | Password for proxy authentication. |
require 'vimeo_api'
include VimeoApi
client = VimeoApi::Client.new(
proxy_settings: ProxySettings.new(
address: "http://localhost",
port: 8888,
username: 'user',
password: 'pass'
)
)