Class: G4SIAuthentication
- Inherits:
-
Object
- Object
- G4SIAuthentication
- 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
-
#accessKey ⇒ Object
Returns the value of attribute accessKey.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username = nil, password = nil, accessKey = nil) ⇒ G4SIAuthentication
constructor
A new instance of G4SIAuthentication.
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
#accessKey ⇒ Object
Returns the value of attribute accessKey.
49 50 51 |
# File 'lib/g4s/shipping/default.rb', line 49 def accessKey @accessKey end |
#password ⇒ Object
Returns the value of attribute password.
48 49 50 |
# File 'lib/g4s/shipping/default.rb', line 48 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
47 48 49 |
# File 'lib/g4s/shipping/default.rb', line 47 def username @username end |