Method: AdobeConnectAPI#initialize

Defined in:
lib/adobe_connect_api.rb

#initialize(url = nil, environment, root_directory) ⇒ AdobeConnectAPI

The URL is the base URL of the Connect-Server, without the trailing slash



62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/adobe_connect_api.rb', line 62

def initialize (url = nil, environment, root_directory)
  begin
    @pointconfig = YAML::load_file("#{root_directory}/config/config.breeze.yml")[environment]
  rescue
     # should not occur except when running tests
  end
  if (url == nil)
    @url = @pointconfig["url"]
  else
    @url = url
  end
end