Class: ADTech::Client
- Inherits:
-
Object
- Object
- ADTech::Client
- Defined in:
- lib/adtech/client.rb
Class Attribute Summary collapse
-
.password ⇒ Object
Returns the value of attribute password.
-
.region ⇒ Object
Returns the value of attribute region.
-
.user ⇒ Object
Returns the value of attribute user.
Instance Attribute Summary collapse
-
#helios ⇒ Object
readonly
Returns the value of attribute helios.
-
#region ⇒ Object
Returns the value of attribute region.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize ⇒ Client
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
.password ⇒ Object
Returns the value of attribute password.
24 25 26 |
# File 'lib/adtech/client.rb', line 24 def password @password end |
.region ⇒ Object
Returns the value of attribute region.
22 23 24 |
# File 'lib/adtech/client.rb', line 22 def region @region end |
.user ⇒ Object
Returns the value of attribute user.
23 24 25 |
# File 'lib/adtech/client.rb', line 23 def user @user end |
Instance Attribute Details
#helios ⇒ Object (readonly)
Returns the value of attribute helios.
17 18 19 |
# File 'lib/adtech/client.rb', line 17 def helios @helios end |
#region ⇒ Object
Returns the value of attribute region.
19 20 21 |
# File 'lib/adtech/client.rb', line 19 def region @region end |
#verbose ⇒ Object
Returns the value of attribute verbose.
18 19 20 |
# File 'lib/adtech/client.rb', line 18 def verbose @verbose end |