g4s_client 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,137 @@
1
+ #!/usr/bin/env ruby
2
+ require 'defaultDriver.rb'
3
+
4
+ endpoint_url = ARGV.shift
5
+ obj = IPSTrackingSoap.new(endpoint_url)
6
+
7
+ # run ruby with -d to see SOAP wiredumps.
8
+ obj.wiredump_dev = STDERR if $DEBUG
9
+
10
+ # SYNOPSIS
11
+ # GetShipmentInfoByTrackingNumber(parameters)
12
+ #
13
+ # ARGS
14
+ # parameters GetShipmentInfoByTrackingNumber - {http://tempuri.org/}GetShipmentInfoByTrackingNumber
15
+ #
16
+ # RETURNS
17
+ # parameters GetShipmentInfoByTrackingNumberResponse - {http://tempuri.org/}GetShipmentInfoByTrackingNumberResponse
18
+ #
19
+ parameters = nil
20
+ puts obj.getShipmentInfoByTrackingNumber(parameters)
21
+
22
+ # SYNOPSIS
23
+ # GetShipmentTrackingList(parameters)
24
+ #
25
+ # ARGS
26
+ # parameters GetShipmentTrackingList - {http://tempuri.org/}GetShipmentTrackingList
27
+ #
28
+ # RETURNS
29
+ # parameters GetShipmentTrackingListResponse - {http://tempuri.org/}GetShipmentTrackingListResponse
30
+ #
31
+ parameters = nil
32
+ puts obj.getShipmentTrackingList(parameters)
33
+
34
+ # SYNOPSIS
35
+ # GetShipmentStatusListForSearchRequest(parameters)
36
+ #
37
+ # ARGS
38
+ # parameters GetShipmentStatusListForSearchRequest - {http://tempuri.org/}GetShipmentStatusListForSearchRequest
39
+ #
40
+ # RETURNS
41
+ # parameters GetShipmentStatusListForSearchRequestResponse - {http://tempuri.org/}GetShipmentStatusListForSearchRequestResponse
42
+ #
43
+ parameters = nil
44
+ puts obj.getShipmentStatusListForSearchRequest(parameters)
45
+
46
+ # SYNOPSIS
47
+ # GetShipmentExceptionsForSearchRequest(parameters)
48
+ #
49
+ # ARGS
50
+ # parameters GetShipmentExceptionsForSearchRequest - {http://tempuri.org/}GetShipmentExceptionsForSearchRequest
51
+ #
52
+ # RETURNS
53
+ # parameters GetShipmentExceptionsForSearchRequestResponse - {http://tempuri.org/}GetShipmentExceptionsForSearchRequestResponse
54
+ #
55
+ parameters = nil
56
+ puts obj.getShipmentExceptionsForSearchRequest(parameters)
57
+
58
+ # SYNOPSIS
59
+ # GetShipmentStatus(parameters)
60
+ #
61
+ # ARGS
62
+ # parameters GetShipmentStatus - {http://tempuri.org/}GetShipmentStatus
63
+ #
64
+ # RETURNS
65
+ # parameters GetShipmentStatusResponse - {http://tempuri.org/}GetShipmentStatusResponse
66
+ #
67
+ parameters = nil
68
+ puts obj.getShipmentStatus(parameters)
69
+
70
+
71
+ endpoint_url = ARGV.shift
72
+ obj = IPSTrackingSoap.new(endpoint_url)
73
+
74
+ # run ruby with -d to see SOAP wiredumps.
75
+ obj.wiredump_dev = STDERR if $DEBUG
76
+
77
+ # SYNOPSIS
78
+ # GetShipmentInfoByTrackingNumber(parameters)
79
+ #
80
+ # ARGS
81
+ # parameters GetShipmentInfoByTrackingNumber - {http://tempuri.org/}GetShipmentInfoByTrackingNumber
82
+ #
83
+ # RETURNS
84
+ # parameters GetShipmentInfoByTrackingNumberResponse - {http://tempuri.org/}GetShipmentInfoByTrackingNumberResponse
85
+ #
86
+ parameters = nil
87
+ puts obj.getShipmentInfoByTrackingNumber(parameters)
88
+
89
+ # SYNOPSIS
90
+ # GetShipmentTrackingList(parameters)
91
+ #
92
+ # ARGS
93
+ # parameters GetShipmentTrackingList - {http://tempuri.org/}GetShipmentTrackingList
94
+ #
95
+ # RETURNS
96
+ # parameters GetShipmentTrackingListResponse - {http://tempuri.org/}GetShipmentTrackingListResponse
97
+ #
98
+ parameters = nil
99
+ puts obj.getShipmentTrackingList(parameters)
100
+
101
+ # SYNOPSIS
102
+ # GetShipmentStatusListForSearchRequest(parameters)
103
+ #
104
+ # ARGS
105
+ # parameters GetShipmentStatusListForSearchRequest - {http://tempuri.org/}GetShipmentStatusListForSearchRequest
106
+ #
107
+ # RETURNS
108
+ # parameters GetShipmentStatusListForSearchRequestResponse - {http://tempuri.org/}GetShipmentStatusListForSearchRequestResponse
109
+ #
110
+ parameters = nil
111
+ puts obj.getShipmentStatusListForSearchRequest(parameters)
112
+
113
+ # SYNOPSIS
114
+ # GetShipmentExceptionsForSearchRequest(parameters)
115
+ #
116
+ # ARGS
117
+ # parameters GetShipmentExceptionsForSearchRequest - {http://tempuri.org/}GetShipmentExceptionsForSearchRequest
118
+ #
119
+ # RETURNS
120
+ # parameters GetShipmentExceptionsForSearchRequestResponse - {http://tempuri.org/}GetShipmentExceptionsForSearchRequestResponse
121
+ #
122
+ parameters = nil
123
+ puts obj.getShipmentExceptionsForSearchRequest(parameters)
124
+
125
+ # SYNOPSIS
126
+ # GetShipmentStatus(parameters)
127
+ #
128
+ # ARGS
129
+ # parameters GetShipmentStatus - {http://tempuri.org/}GetShipmentStatus
130
+ #
131
+ # RETURNS
132
+ # parameters GetShipmentStatusResponse - {http://tempuri.org/}GetShipmentStatusResponse
133
+ #
134
+ parameters = nil
135
+ puts obj.getShipmentStatus(parameters)
136
+
137
+