Class: G4SIAuthentication

Inherits:
Object
  • Object
show all
Defined in:
lib/g4s/shipping/default.rb,
lib/g4s/tracking/default.rb,
lib/g4s/utilities/default.rb

Overview

/G4SIAuthentication

username - SOAP::SOAPString
password - SOAP::SOAPString
accessKey - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username = nil, password = nil, accessKey = nil) ⇒ G4SIAuthentication

Returns a new instance of G4SIAuthentication.



51
52
53
54
55
# File 'lib/g4s/shipping/default.rb', line 51

def initialize(username = nil, password = nil, accessKey = nil)
  @username = username
  @password = password
  @accessKey = accessKey
end

Instance Attribute Details

#accessKeyObject

Returns the value of attribute accessKey.



49
50
51
# File 'lib/g4s/shipping/default.rb', line 49

def accessKey
  @accessKey
end

#passwordObject

Returns the value of attribute password.



48
49
50
# File 'lib/g4s/shipping/default.rb', line 48

def password
  @password
end

#usernameObject

Returns the value of attribute username.



47
48
49
# File 'lib/g4s/shipping/default.rb', line 47

def username
  @username
end