Method: VCloud::Client#initialize
- Defined in:
- lib/vcloud/client.rb
#initialize(url, api_version, opts = {}) ⇒ Client
Create a new client
26 27 28 29 30 31 32 33 34 |
# File 'lib/vcloud/client.rb', line 26 def initialize(url, api_version, opts={}) @links=[] @url = url.strip @api_version = api_version @token = {} @logged_in = false @verify_ssl = opts[:verify_ssl].nil? ? true : opts[:verify_ssl] end |