trackerific 0.3.5 → 0.4.0
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.
- data/Gemfile +1 -1
- data/README.rdoc +37 -13
- data/VERSION +1 -1
- data/doc/OptionsHelper.html +287 -0
- data/doc/Trackerific.html +588 -35
- data/doc/Trackerific/Configuration.html +354 -0
- data/doc/Trackerific/Details.html +1 -1
- data/doc/Trackerific/Error.html +1 -1
- data/doc/Trackerific/Event.html +1 -1
- data/doc/Trackerific/FedEx.html +52 -35
- data/doc/Trackerific/{Base.html → Service.html} +54 -49
- data/doc/Trackerific/UPS.html +48 -31
- data/doc/Trackerific/USPS.html +51 -34
- data/doc/_index.html +35 -4
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +42 -15
- data/doc/index.html +42 -15
- data/doc/method_list.html +83 -19
- data/doc/top-level-namespace.html +2 -2
- data/lib/helpers/options_helper.rb +20 -0
- data/lib/trackerific.rb +52 -18
- data/lib/trackerific/configuration.rb +49 -0
- data/lib/trackerific/service.rb +68 -0
- data/lib/trackerific/services/fedex.rb +18 -16
- data/lib/trackerific/services/ups.rb +16 -14
- data/lib/trackerific/services/usps.rb +17 -15
- data/spec/lib/trackerific/configuration_spec.rb +9 -0
- data/spec/lib/trackerific/details_spec.rb +12 -9
- data/spec/lib/trackerific/error_spec.rb +6 -2
- data/spec/lib/trackerific/event_spec.rb +21 -8
- data/spec/lib/trackerific/service_spec.rb +34 -0
- data/spec/lib/trackerific/services/fedex_spec.rb +23 -9
- data/spec/lib/trackerific/services/ups_spec.rb +23 -8
- data/spec/lib/trackerific/services/usps_spec.rb +22 -8
- data/spec/lib/trackerific_spec.rb +29 -7
- data/spec/spec_helper.rb +1 -0
- data/spec/support/fixtures.rb +16 -10
- data/spec/support/trackerific.rb +2 -2
- data/trackerific.gemspec +13 -8
- metadata +30 -25
- data/lib/trackerific/base.rb +0 -70
- data/spec/lib/trackerific/base_spec.rb +0 -34
data/doc/_index.html
CHANGED
@@ -76,12 +76,12 @@
|
|
76
76
|
<td valign='top' width="33%">
|
77
77
|
|
78
78
|
|
79
|
-
<ul id="
|
80
|
-
<li class="letter">
|
79
|
+
<ul id="alpha_C" class="alpha">
|
80
|
+
<li class="letter">C</li>
|
81
81
|
<ul>
|
82
82
|
|
83
83
|
<li>
|
84
|
-
<span class='object_link'><a href="Trackerific/
|
84
|
+
<span class='object_link'><a href="Trackerific/Configuration.html" title="Trackerific::Configuration (class)">Configuration</a></span>
|
85
85
|
|
86
86
|
<small>(Trackerific)</small>
|
87
87
|
|
@@ -143,6 +143,34 @@
|
|
143
143
|
</ul>
|
144
144
|
|
145
145
|
|
146
|
+
<ul id="alpha_O" class="alpha">
|
147
|
+
<li class="letter">O</li>
|
148
|
+
<ul>
|
149
|
+
|
150
|
+
<li>
|
151
|
+
<span class='object_link'><a href="OptionsHelper.html" title="OptionsHelper (module)">OptionsHelper</a></span>
|
152
|
+
|
153
|
+
</li>
|
154
|
+
|
155
|
+
</ul>
|
156
|
+
</ul>
|
157
|
+
|
158
|
+
|
159
|
+
<ul id="alpha_S" class="alpha">
|
160
|
+
<li class="letter">S</li>
|
161
|
+
<ul>
|
162
|
+
|
163
|
+
<li>
|
164
|
+
<span class='object_link'><a href="Trackerific/Service.html" title="Trackerific::Service (class)">Service</a></span>
|
165
|
+
|
166
|
+
<small>(Trackerific)</small>
|
167
|
+
|
168
|
+
</li>
|
169
|
+
|
170
|
+
</ul>
|
171
|
+
</ul>
|
172
|
+
|
173
|
+
|
146
174
|
<ul id="alpha_T" class="alpha">
|
147
175
|
<li class="letter">T</li>
|
148
176
|
<ul>
|
@@ -156,6 +184,9 @@
|
|
156
184
|
</ul>
|
157
185
|
|
158
186
|
|
187
|
+
</td><td valign='top' width="33%">
|
188
|
+
|
189
|
+
|
159
190
|
<ul id="alpha_U" class="alpha">
|
160
191
|
<li class="letter">U</li>
|
161
192
|
<ul>
|
@@ -186,7 +217,7 @@
|
|
186
217
|
</div>
|
187
218
|
|
188
219
|
<div id="footer">
|
189
|
-
Generated on
|
220
|
+
Generated on Wed Jun 15 15:30:26 2011 by
|
190
221
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
191
222
|
0.7.1 (ruby-1.9.2).
|
192
223
|
</div>
|
data/doc/class_list.html
CHANGED
@@ -39,7 +39,7 @@
|
|
39
39
|
|
40
40
|
<ul id="full_list" class="class">
|
41
41
|
<li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
|
42
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="Trackerific.html" title="Trackerific (module)">Trackerific</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Trackerific/
|
42
|
+
<li><span class='object_link'><a href="OptionsHelper.html" title="OptionsHelper (module)">OptionsHelper</a></span><small class='search_info'>Top Level Namespace</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Trackerific.html" title="Trackerific (module)">Trackerific</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Trackerific/Configuration.html" title="Trackerific::Configuration (class)">Configuration</a></span> < Object<small class='search_info'>Trackerific</small></li><li><span class='object_link'><a href="Trackerific/Details.html" title="Trackerific::Details (class)">Details</a></span> < Object<small class='search_info'>Trackerific</small></li><li><span class='object_link'><a href="Trackerific/Error.html" title="Trackerific::Error (class)">Error</a></span> < StandardError<small class='search_info'>Trackerific</small></li><li><span class='object_link'><a href="Trackerific/Event.html" title="Trackerific::Event (class)">Event</a></span> < Object<small class='search_info'>Trackerific</small></li><li><span class='object_link'><a href="Trackerific/FedEx.html" title="Trackerific::FedEx (class)">FedEx</a></span> < Service<small class='search_info'>Trackerific</small></li><li><span class='object_link'><a href="Trackerific/Service.html" title="Trackerific::Service (class)">Service</a></span> < Object<small class='search_info'>Trackerific</small></li><li><span class='object_link'><a href="Trackerific/UPS.html" title="Trackerific::UPS (class)">UPS</a></span> < Service<small class='search_info'>Trackerific</small></li><li><span class='object_link'><a href="Trackerific/USPS.html" title="Trackerific::USPS (class)">USPS</a></span> < Service<small class='search_info'>Trackerific</small></li></ul>
|
43
43
|
|
44
44
|
</ul>
|
45
45
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -67,7 +67,47 @@ and then run
|
|
67
67
|
<pre class="code">
|
68
68
|
<span class='id bundle'>bundle</span> <span class='id install'>install</span>
|
69
69
|
</pre>
|
70
|
-
<h2>Usage
|
70
|
+
<h2>Usage</h2>
|
71
|
+
<h3>Configuration</h3>
|
72
|
+
<p>
|
73
|
+
To take advantage of Trackerific’s automatic service discovery, you
|
74
|
+
will need to configure your credentials for each service.
|
75
|
+
</p>
|
76
|
+
<pre class="code">
|
77
|
+
<span class='comment'># config/initializers/trackerific.rb
|
78
|
+
</span> <span class='id require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>trackerific</span><span class='tstring_end'>'</span></span>
|
79
|
+
<span class='const'>Trackerific</span><span class='period'>.</span><span class='id configure'>configure</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id config'>config</span><span class='op'>|</span>
|
80
|
+
<span class='id config'>config</span><span class='period'>.</span><span class='id fedex'>fedex</span> <span class='symbol'>:account</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>account</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:meter</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>123456789</span><span class='tstring_end'>'</span></span>
|
81
|
+
<span class='id config'>config</span><span class='period'>.</span><span class='id ups'>ups</span> <span class='symbol'>:key</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>key</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:user_id</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>userid</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:password</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>secret</span><span class='tstring_end'>'</span></span>
|
82
|
+
<span class='id config'>config</span><span class='period'>.</span><span class='id usps'>usps</span> <span class='symbol'>:user_id</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>userid</span><span class='tstring_end'>'</span></span>
|
83
|
+
<span class='kw'>end</span>
|
84
|
+
</pre>
|
85
|
+
<h3>Tracking with Automatic Service Discovery</h3>
|
86
|
+
<p>
|
87
|
+
Once you configured the services, tracking a package is as easy as
|
88
|
+
</p>
|
89
|
+
<pre class="code">
|
90
|
+
<span class='id include'>include</span> <span class='const'>Trackerific</span>
|
91
|
+
<span class='id details'>details</span> <span class='op'>=</span> <span class='id track_package'>track_package</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>package id</span><span class='tstring_end'>"</span></span>
|
92
|
+
</pre>
|
93
|
+
<h3>Finding a Tracking Service Provider</h3>
|
94
|
+
<p>
|
95
|
+
If you do not know the tracking service provider of a package id, or you
|
96
|
+
used track_package, and you need to know which service was used to track
|
97
|
+
it, you can use the tracking_service helper method.
|
98
|
+
</p>
|
99
|
+
<pre class="code">
|
100
|
+
<span class='id include'>include</span> <span class='const'>Trackerific</span>
|
101
|
+
<span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>183689015000001</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::FedEx
|
102
|
+
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1Z12345E0291980793</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::UPS
|
103
|
+
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>EJ958083578US</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::USPS
|
104
|
+
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>unknown package id</span><span class='tstring_end'>"</span></span> <span class='comment'># => nil
|
105
|
+
</span></pre>
|
106
|
+
<h3>Tracking a Package with a Specific Service</h3>
|
107
|
+
<p>
|
108
|
+
Use this method if you need to specify exactly which service to track a
|
109
|
+
package.
|
110
|
+
</p>
|
71
111
|
<pre class="code">
|
72
112
|
<span class='comment'># Track a FedEx package:
|
73
113
|
</span> <span class='id fedex'>fedex</span> <span class='op'>=</span> <span class='const'>Trackerific</span><span class='op'>::</span><span class='const'>FedEx</span><span class='period'>.</span><span class='id new'>new</span> <span class='symbol'>:account</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>123456789</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:meter</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>123456789</span><span class='tstring_end'>'</span></span>
|
@@ -115,19 +155,6 @@ Note that events.last will return the first event the tracking provider
|
|
115
155
|
supplied. This is because the events are listed in LIFO order, so the most
|
116
156
|
recent events will always be at the top of the list.
|
117
157
|
</p>
|
118
|
-
<h3>Finding a Tracking Service Provider</h3>
|
119
|
-
<p>
|
120
|
-
If you do not know the tracking service provider of a package id, you can
|
121
|
-
use the tracking_service helper method to get a Trackerific class that most
|
122
|
-
likely will be able to track the given package id.
|
123
|
-
</p>
|
124
|
-
<pre class="code">
|
125
|
-
<span class='id include'>include</span> <span class='const'>Trackerific</span>
|
126
|
-
<span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>183689015000001</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::FedEx
|
127
|
-
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1Z12345E0291980793</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::UPS
|
128
|
-
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>EJ958083578US</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::USPS
|
129
|
-
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>unknown package id</span><span class='tstring_end'>"</span></span> <span class='comment'># => nil
|
130
|
-
</span></pre>
|
131
158
|
<h3>Exception handling</h3>
|
132
159
|
<p>
|
133
160
|
Exception handling is esssential for tracking packages. If, for example,
|
@@ -252,7 +279,7 @@ Copyright © 2011 Travis Haynes. See LICENSE.txt for further details.
|
|
252
279
|
</div></div>
|
253
280
|
|
254
281
|
<div id="footer">
|
255
|
-
Generated on
|
282
|
+
Generated on Wed Jun 15 15:30:26 2011 by
|
256
283
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
257
284
|
0.7.1 (ruby-1.9.2).
|
258
285
|
</div>
|
data/doc/index.html
CHANGED
@@ -67,7 +67,47 @@ and then run
|
|
67
67
|
<pre class="code">
|
68
68
|
<span class='id bundle'>bundle</span> <span class='id install'>install</span>
|
69
69
|
</pre>
|
70
|
-
<h2>Usage
|
70
|
+
<h2>Usage</h2>
|
71
|
+
<h3>Configuration</h3>
|
72
|
+
<p>
|
73
|
+
To take advantage of Trackerific’s automatic service discovery, you
|
74
|
+
will need to configure your credentials for each service.
|
75
|
+
</p>
|
76
|
+
<pre class="code">
|
77
|
+
<span class='comment'># config/initializers/trackerific.rb
|
78
|
+
</span> <span class='id require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>trackerific</span><span class='tstring_end'>'</span></span>
|
79
|
+
<span class='const'>Trackerific</span><span class='period'>.</span><span class='id configure'>configure</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id config'>config</span><span class='op'>|</span>
|
80
|
+
<span class='id config'>config</span><span class='period'>.</span><span class='id fedex'>fedex</span> <span class='symbol'>:account</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>account</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:meter</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>123456789</span><span class='tstring_end'>'</span></span>
|
81
|
+
<span class='id config'>config</span><span class='period'>.</span><span class='id ups'>ups</span> <span class='symbol'>:key</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>key</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:user_id</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>userid</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:password</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>secret</span><span class='tstring_end'>'</span></span>
|
82
|
+
<span class='id config'>config</span><span class='period'>.</span><span class='id usps'>usps</span> <span class='symbol'>:user_id</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>userid</span><span class='tstring_end'>'</span></span>
|
83
|
+
<span class='kw'>end</span>
|
84
|
+
</pre>
|
85
|
+
<h3>Tracking with Automatic Service Discovery</h3>
|
86
|
+
<p>
|
87
|
+
Once you configured the services, tracking a package is as easy as
|
88
|
+
</p>
|
89
|
+
<pre class="code">
|
90
|
+
<span class='id include'>include</span> <span class='const'>Trackerific</span>
|
91
|
+
<span class='id details'>details</span> <span class='op'>=</span> <span class='id track_package'>track_package</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>package id</span><span class='tstring_end'>"</span></span>
|
92
|
+
</pre>
|
93
|
+
<h3>Finding a Tracking Service Provider</h3>
|
94
|
+
<p>
|
95
|
+
If you do not know the tracking service provider of a package id, or you
|
96
|
+
used track_package, and you need to know which service was used to track
|
97
|
+
it, you can use the tracking_service helper method.
|
98
|
+
</p>
|
99
|
+
<pre class="code">
|
100
|
+
<span class='id include'>include</span> <span class='const'>Trackerific</span>
|
101
|
+
<span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>183689015000001</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::FedEx
|
102
|
+
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1Z12345E0291980793</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::UPS
|
103
|
+
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>EJ958083578US</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::USPS
|
104
|
+
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>unknown package id</span><span class='tstring_end'>"</span></span> <span class='comment'># => nil
|
105
|
+
</span></pre>
|
106
|
+
<h3>Tracking a Package with a Specific Service</h3>
|
107
|
+
<p>
|
108
|
+
Use this method if you need to specify exactly which service to track a
|
109
|
+
package.
|
110
|
+
</p>
|
71
111
|
<pre class="code">
|
72
112
|
<span class='comment'># Track a FedEx package:
|
73
113
|
</span> <span class='id fedex'>fedex</span> <span class='op'>=</span> <span class='const'>Trackerific</span><span class='op'>::</span><span class='const'>FedEx</span><span class='period'>.</span><span class='id new'>new</span> <span class='symbol'>:account</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>123456789</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:meter</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>123456789</span><span class='tstring_end'>'</span></span>
|
@@ -115,19 +155,6 @@ Note that events.last will return the first event the tracking provider
|
|
115
155
|
supplied. This is because the events are listed in LIFO order, so the most
|
116
156
|
recent events will always be at the top of the list.
|
117
157
|
</p>
|
118
|
-
<h3>Finding a Tracking Service Provider</h3>
|
119
|
-
<p>
|
120
|
-
If you do not know the tracking service provider of a package id, you can
|
121
|
-
use the tracking_service helper method to get a Trackerific class that most
|
122
|
-
likely will be able to track the given package id.
|
123
|
-
</p>
|
124
|
-
<pre class="code">
|
125
|
-
<span class='id include'>include</span> <span class='const'>Trackerific</span>
|
126
|
-
<span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>183689015000001</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::FedEx
|
127
|
-
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1Z12345E0291980793</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::UPS
|
128
|
-
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>EJ958083578US</span><span class='tstring_end'>"</span></span> <span class='comment'># => Trackerific::USPS
|
129
|
-
</span> <span class='id tracking_service'>tracking_service</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>unknown package id</span><span class='tstring_end'>"</span></span> <span class='comment'># => nil
|
130
|
-
</span></pre>
|
131
158
|
<h3>Exception handling</h3>
|
132
159
|
<p>
|
133
160
|
Exception handling is esssential for tracking packages. If, for example,
|
@@ -252,7 +279,7 @@ Copyright © 2011 Travis Haynes. See LICENSE.txt for further details.
|
|
252
279
|
</div></div>
|
253
280
|
|
254
281
|
<div id="footer">
|
255
|
-
Generated on
|
282
|
+
Generated on Wed Jun 15 15:30:26 2011 by
|
256
283
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
257
284
|
0.7.1 (ruby-1.9.2).
|
258
285
|
</div>
|
data/doc/method_list.html
CHANGED
@@ -40,6 +40,22 @@
|
|
40
40
|
<ul id="full_list" class="methods">
|
41
41
|
|
42
42
|
|
43
|
+
<li class="r1 ">
|
44
|
+
<span class='object_link'><a href="Trackerific.html#configuration-class_method" title="Trackerific.configuration (method)">configuration</a></span>
|
45
|
+
|
46
|
+
<small>Trackerific</small>
|
47
|
+
|
48
|
+
</li>
|
49
|
+
|
50
|
+
|
51
|
+
<li class="r2 ">
|
52
|
+
<span class='object_link'><a href="Trackerific.html#configure-class_method" title="Trackerific.configure (method)">configure</a></span>
|
53
|
+
|
54
|
+
<small>Trackerific</small>
|
55
|
+
|
56
|
+
</li>
|
57
|
+
|
58
|
+
|
43
59
|
<li class="r1 ">
|
44
60
|
<span class='object_link'><a href="Trackerific/Event.html#date-instance_method" title="Trackerific::Event#date (method)">#date</a></span>
|
45
61
|
|
@@ -65,17 +81,17 @@
|
|
65
81
|
|
66
82
|
|
67
83
|
<li class="r2 ">
|
68
|
-
<span class='object_link'><a href="Trackerific/
|
84
|
+
<span class='object_link'><a href="Trackerific/Event.html#initialize-instance_method" title="Trackerific::Event#initialize (method)">#initialize</a></span>
|
69
85
|
|
70
|
-
<small>Trackerific::
|
86
|
+
<small>Trackerific::Event</small>
|
71
87
|
|
72
88
|
</li>
|
73
89
|
|
74
90
|
|
75
91
|
<li class="r1 ">
|
76
|
-
<span class='object_link'><a href="Trackerific/
|
92
|
+
<span class='object_link'><a href="Trackerific/Configuration.html#initialize-instance_method" title="Trackerific::Configuration#initialize (method)">#initialize</a></span>
|
77
93
|
|
78
|
-
<small>Trackerific::
|
94
|
+
<small>Trackerific::Configuration</small>
|
79
95
|
|
80
96
|
</li>
|
81
97
|
|
@@ -89,6 +105,14 @@
|
|
89
105
|
|
90
106
|
|
91
107
|
<li class="r1 ">
|
108
|
+
<span class='object_link'><a href="Trackerific/Service.html#initialize-instance_method" title="Trackerific::Service#initialize (method)">#initialize</a></span>
|
109
|
+
|
110
|
+
<small>Trackerific::Service</small>
|
111
|
+
|
112
|
+
</li>
|
113
|
+
|
114
|
+
|
115
|
+
<li class="r2 ">
|
92
116
|
<span class='object_link'><a href="Trackerific/Event.html#location-instance_method" title="Trackerific::Event#location (method)">#location</a></span>
|
93
117
|
|
94
118
|
<small>Trackerific::Event</small>
|
@@ -96,6 +120,14 @@
|
|
96
120
|
</li>
|
97
121
|
|
98
122
|
|
123
|
+
<li class="r1 ">
|
124
|
+
<span class='object_link'><a href="Trackerific/Configuration.html#method_missing-instance_method" title="Trackerific::Configuration#method_missing (method)">#method_missing</a></span>
|
125
|
+
|
126
|
+
<small>Trackerific::Configuration</small>
|
127
|
+
|
128
|
+
</li>
|
129
|
+
|
130
|
+
|
99
131
|
<li class="r2 ">
|
100
132
|
<span class='object_link'><a href="Trackerific/Details.html#package_id-instance_method" title="Trackerific::Details#package_id (method)">#package_id</a></span>
|
101
133
|
|
@@ -105,6 +137,14 @@
|
|
105
137
|
|
106
138
|
|
107
139
|
<li class="r1 ">
|
140
|
+
<span class='object_link'><a href="Trackerific/USPS.html#package_id_matchers-class_method" title="Trackerific::USPS.package_id_matchers (method)">package_id_matchers</a></span>
|
141
|
+
|
142
|
+
<small>Trackerific::USPS</small>
|
143
|
+
|
144
|
+
</li>
|
145
|
+
|
146
|
+
|
147
|
+
<li class="r2 ">
|
108
148
|
<span class='object_link'><a href="Trackerific/UPS.html#package_id_matchers-class_method" title="Trackerific::UPS.package_id_matchers (method)">package_id_matchers</a></span>
|
109
149
|
|
110
150
|
<small>Trackerific::UPS</small>
|
@@ -112,7 +152,7 @@
|
|
112
152
|
</li>
|
113
153
|
|
114
154
|
|
115
|
-
<li class="
|
155
|
+
<li class="r1 ">
|
116
156
|
<span class='object_link'><a href="Trackerific/FedEx.html#package_id_matchers-class_method" title="Trackerific::FedEx.package_id_matchers (method)">package_id_matchers</a></span>
|
117
157
|
|
118
158
|
<small>Trackerific::FedEx</small>
|
@@ -120,26 +160,34 @@
|
|
120
160
|
</li>
|
121
161
|
|
122
162
|
|
163
|
+
<li class="r2 ">
|
164
|
+
<span class='object_link'><a href="Trackerific/Service.html#package_id_matchers-class_method" title="Trackerific::Service.package_id_matchers (method)">package_id_matchers</a></span>
|
165
|
+
|
166
|
+
<small>Trackerific::Service</small>
|
167
|
+
|
168
|
+
</li>
|
169
|
+
|
170
|
+
|
123
171
|
<li class="r1 ">
|
124
|
-
<span class='object_link'><a href="Trackerific/
|
172
|
+
<span class='object_link'><a href="Trackerific/FedEx.html#required_options-class_method" title="Trackerific::FedEx.required_options (method)">required_options</a></span>
|
125
173
|
|
126
|
-
<small>Trackerific::
|
174
|
+
<small>Trackerific::FedEx</small>
|
127
175
|
|
128
176
|
</li>
|
129
177
|
|
130
178
|
|
131
179
|
<li class="r2 ">
|
132
|
-
<span class='object_link'><a href="Trackerific/
|
180
|
+
<span class='object_link'><a href="Trackerific/Service.html#required_options-class_method" title="Trackerific::Service.required_options (method)">required_options</a></span>
|
133
181
|
|
134
|
-
<small>Trackerific::
|
182
|
+
<small>Trackerific::Service</small>
|
135
183
|
|
136
184
|
</li>
|
137
185
|
|
138
186
|
|
139
187
|
<li class="r1 ">
|
140
|
-
<span class='object_link'><a href="Trackerific/
|
188
|
+
<span class='object_link'><a href="Trackerific/UPS.html#required_options-class_method" title="Trackerific::UPS.required_options (method)">required_options</a></span>
|
141
189
|
|
142
|
-
<small>Trackerific::
|
190
|
+
<small>Trackerific::UPS</small>
|
143
191
|
|
144
192
|
</li>
|
145
193
|
|
@@ -153,17 +201,17 @@
|
|
153
201
|
|
154
202
|
|
155
203
|
<li class="r1 ">
|
156
|
-
<span class='object_link'><a href="Trackerific
|
204
|
+
<span class='object_link'><a href="Trackerific.html#service_get-class_method" title="Trackerific.service_get (method)">service_get</a></span>
|
157
205
|
|
158
|
-
<small>Trackerific
|
206
|
+
<small>Trackerific</small>
|
159
207
|
|
160
208
|
</li>
|
161
209
|
|
162
210
|
|
163
211
|
<li class="r2 ">
|
164
|
-
<span class='object_link'><a href="Trackerific
|
212
|
+
<span class='object_link'><a href="Trackerific.html#services-class_method" title="Trackerific.services (method)">services</a></span>
|
165
213
|
|
166
|
-
<small>Trackerific
|
214
|
+
<small>Trackerific</small>
|
167
215
|
|
168
216
|
</li>
|
169
217
|
|
@@ -185,6 +233,14 @@
|
|
185
233
|
|
186
234
|
|
187
235
|
<li class="r1 ">
|
236
|
+
<span class='object_link'><a href="Trackerific/Service.html#track_package-instance_method" title="Trackerific::Service#track_package (method)">#track_package</a></span>
|
237
|
+
|
238
|
+
<small>Trackerific::Service</small>
|
239
|
+
|
240
|
+
</li>
|
241
|
+
|
242
|
+
|
243
|
+
<li class="r2 ">
|
188
244
|
<span class='object_link'><a href="Trackerific/UPS.html#track_package-instance_method" title="Trackerific::UPS#track_package (method)">#track_package</a></span>
|
189
245
|
|
190
246
|
<small>Trackerific::UPS</small>
|
@@ -192,6 +248,14 @@
|
|
192
248
|
</li>
|
193
249
|
|
194
250
|
|
251
|
+
<li class="r1 ">
|
252
|
+
<span class='object_link'><a href="Trackerific.html#track_package-instance_method" title="Trackerific#track_package (method)">#track_package</a></span>
|
253
|
+
|
254
|
+
<small>Trackerific</small>
|
255
|
+
|
256
|
+
</li>
|
257
|
+
|
258
|
+
|
195
259
|
<li class="r2 ">
|
196
260
|
<span class='object_link'><a href="Trackerific/USPS.html#track_package-instance_method" title="Trackerific::USPS#track_package (method)">#track_package</a></span>
|
197
261
|
|
@@ -209,17 +273,17 @@
|
|
209
273
|
|
210
274
|
|
211
275
|
<li class="r2 ">
|
212
|
-
<span class='object_link'><a href="Trackerific
|
276
|
+
<span class='object_link'><a href="Trackerific.html#tracking_service-instance_method" title="Trackerific#tracking_service (method)">#tracking_service</a></span>
|
213
277
|
|
214
|
-
<small>Trackerific
|
278
|
+
<small>Trackerific</small>
|
215
279
|
|
216
280
|
</li>
|
217
281
|
|
218
282
|
|
219
283
|
<li class="r1 ">
|
220
|
-
<span class='object_link'><a href="
|
284
|
+
<span class='object_link'><a href="OptionsHelper.html#validate_options-instance_method" title="OptionsHelper#validate_options (method)">#validate_options</a></span>
|
221
285
|
|
222
|
-
<small>
|
286
|
+
<small>OptionsHelper</small>
|
223
287
|
|
224
288
|
</li>
|
225
289
|
|
@@ -78,7 +78,7 @@
|
|
78
78
|
<p class="children">
|
79
79
|
|
80
80
|
|
81
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Trackerific.html" title="Trackerific (module)">Trackerific</a></span>
|
81
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="OptionsHelper.html" title="OptionsHelper (module)">OptionsHelper</a></span>, <span class='object_link'><a href="Trackerific.html" title="Trackerific (module)">Trackerific</a></span>
|
82
82
|
|
83
83
|
|
84
84
|
|
@@ -94,7 +94,7 @@
|
|
94
94
|
</div>
|
95
95
|
|
96
96
|
<div id="footer">
|
97
|
-
Generated on
|
97
|
+
Generated on Wed Jun 15 15:30:27 2011 by
|
98
98
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
99
99
|
0.7.1 (ruby-1.9.2).
|
100
100
|
</div>
|