Class: DHLGM::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/dhlgm-track/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



5
6
7
8
9
# File 'lib/dhlgm-track/configuration.rb', line 5

def initialize
  @timeout  = 5000
  @username = ENV['DHLGM_USERNAME']
  @password = ENV['DHLGM_PASSWORD']
end

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/dhlgm-track/configuration.rb', line 3

def password
  @password
end

#timeoutObject

Returns the value of attribute timeout.



3
4
5
# File 'lib/dhlgm-track/configuration.rb', line 3

def timeout
  @timeout
end

#usernameObject

Returns the value of attribute username.



3
4
5
# File 'lib/dhlgm-track/configuration.rb', line 3

def username
  @username
end