Class: G4sClient::ShippingTest
Instance Attribute Summary
Attributes inherited from Shipping
Instance Method Summary collapse
-
#auth ⇒ Object
TODO: dry.
-
#initialize ⇒ ShippingTest
constructor
A new instance of ShippingTest.
Constructor Details
#initialize ⇒ ShippingTest
Returns a new instance of ShippingTest.
39 |
# File 'lib/g4s_client.rb', line 39 def initialize; super("https://wsuat.g4si.com/IPSshipping.asmx"); end |
Instance Method Details
#auth ⇒ Object
TODO: dry
40 |
# File 'lib/g4s_client.rb', line 40 def auth; @authentication ||= G4SIAuthentication.new(CONFIG['test']['username'], CONFIG['test']['password'], CONFIG['test']['access_key']); end |