Class: G4sClient::ShippingTest

Inherits:
Shipping
  • Object
show all
Defined in:
lib/g4s_client.rb

Instance Attribute Summary

Attributes inherited from Shipping

#service

Instance Method Summary collapse

Constructor Details

#initializeShippingTest

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

#authObject

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