sports_south 2.0.24 → 2.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sports_south/base.rb +1 -1
- data/lib/sports_south/invoice.rb +2 -4
- data/lib/sports_south/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cc93851e4a3ceba762a5a423d76d1d660545cb7
|
4
|
+
data.tar.gz: c4083266485cfe08ad9ddc50eaa782a30503827a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 278cebc8ca6a8fd43c84a8e8923ef77e9956cb2d1a051014068e7705e20cfa63eb4d9be36d4da403810dec8c4dcdd0bd7529c46025b9f5ec948536edeee4a90f
|
7
|
+
data.tar.gz: 0ec4ee07170b1438b88358b5bf775e7510b29086624aa9496125d8731a3b9ee50cffae7c89b920c8bb1775eed9af5e0ace4d249b157964f0e21303099a29c033
|
data/lib/sports_south/base.rb
CHANGED
data/lib/sports_south/invoice.rb
CHANGED
@@ -8,7 +8,7 @@ module SportsSouth
|
|
8
8
|
|
9
9
|
def self.find_by_po_number(po_number, options = {})
|
10
10
|
requires!(options, :username, :password)
|
11
|
-
new(options.merge(
|
11
|
+
new(options.merge(po_number: po_number))
|
12
12
|
end
|
13
13
|
|
14
14
|
def initialize(options = {})
|
@@ -23,9 +23,7 @@ module SportsSouth
|
|
23
23
|
http, request = get_http_and_request(API_URL, '/GetTrackingByPo')
|
24
24
|
|
25
25
|
request.set_form_data(form_params(@options).merge({
|
26
|
-
PONumber: @po_number
|
27
|
-
customer_number: @options[:username],
|
28
|
-
source: SportsSouth.config.source
|
26
|
+
PONumber: @po_number
|
29
27
|
}))
|
30
28
|
|
31
29
|
response = http.request(request)
|
data/lib/sports_south/version.rb
CHANGED