Class: G4sClient::ShippingLive
Instance Attribute Summary
Attributes inherited from Shipping
Instance Method Summary collapse
- #auth ⇒ Object
-
#initialize ⇒ ShippingLive
constructor
A new instance of ShippingLive.
Constructor Details
#initialize ⇒ ShippingLive
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
#auth ⇒ Object
45 |
# File 'lib/g4s_client.rb', line 45 def auth; @authentication ||= G4SIAuthentication.new(CONFIG['live']['username'], CONFIG['live']['password'], CONFIG['live']['access_key']); end |