Class: G4sClient::ShippingLive

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

#initializeShippingLive

Returns a new instance of ShippingLive.



44
# File 'lib/g4s_client.rb', line 44

def initialize; super("https://ws.g4si.com/IPSshipping.asmx"); end

Instance Method Details

#authObject



45
# File 'lib/g4s_client.rb', line 45

def auth;  @authentication ||= G4SIAuthentication.new(CONFIG['live']['username'], CONFIG['live']['password'], CONFIG['live']['access_key']); end