Class: ADTech::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/adtech/client.rb

Class Attribute Summary collapse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeClient

Returns a new instance of Client.



27
28
29
30
31
32
33
34
# File 'lib/adtech/client.rb', line 27

def initialize
  @helios = HeliosWSClientSystem.new
  @helios.initServices(api_server_url,
                       Dir::tmpdir(),
                       Client.user,
                       Client.password,
                       AuthenticationType::SSO);
end

Class Attribute Details

.passwordObject

Returns the value of attribute password.



24
25
26
# File 'lib/adtech/client.rb', line 24

def password
  @password
end

.regionObject

Returns the value of attribute region.



22
23
24
# File 'lib/adtech/client.rb', line 22

def region
  @region
end

.userObject

Returns the value of attribute user.



23
24
25
# File 'lib/adtech/client.rb', line 23

def user
  @user
end

Instance Attribute Details

#heliosObject (readonly)

Returns the value of attribute helios.



17
18
19
# File 'lib/adtech/client.rb', line 17

def helios
  @helios
end

#regionObject

Returns the value of attribute region.



19
20
21
# File 'lib/adtech/client.rb', line 19

def region
  @region
end

#verboseObject

Returns the value of attribute verbose.



18
19
20
# File 'lib/adtech/client.rb', line 18

def verbose
  @verbose
end