class Vestacp::Config

Vestacp::Config stores configuration data for connecting to the Vestacp API

Attributes

api_password[RW]

The Vestacp API password

api_url[RW]

The Vestacp API URL

api_username[RW]

The Vestacp API username

Public Class Methods

new() click to toggle source

Create a new config object

# File lib/vestacp/config.rb, line 14
def initialize
  @api_username = 'example_user'
  @api_password = 'example_pass'
  @api_url      = 'https://example.com:8083/api/'
end