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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72ec6b07da863b3ea7b0fb2b32255614c188c395
4
- data.tar.gz: 90ac1bc7ef616a3053bf481b2a28b2c0cc162d25
3
+ metadata.gz: 4cc93851e4a3ceba762a5a423d76d1d660545cb7
4
+ data.tar.gz: c4083266485cfe08ad9ddc50eaa782a30503827a
5
5
  SHA512:
6
- metadata.gz: 7b79c21f629d0c22ffdd1b89e84d92b5fce394d4a16833f271a74445fdc67fd5e232ee7ac6ab5e9a57ea1acad8b609a4daed00a5a7361b1b8fc3f4822d16ed23
7
- data.tar.gz: d7b303478976b530231940c1ea40ef9cb01c7c9f6c3720bafc2c40ea139494209650f19e7045bb8451d06330d96e58094dbc8aa3a38e08cbbf552e705026e7c3
6
+ metadata.gz: 278cebc8ca6a8fd43c84a8e8923ef77e9956cb2d1a051014068e7705e20cfa63eb4d9be36d4da403810dec8c4dcdd0bd7529c46025b9f5ec948536edeee4a90f
7
+ data.tar.gz: 0ec4ee07170b1438b88358b5bf775e7510b29086624aa9496125d8731a3b9ee50cffae7c89b920c8bb1775eed9af5e0ace4d249b157964f0e21303099a29c033
@@ -40,7 +40,7 @@ module SportsSouth
40
40
  UserName: options[:username],
41
41
  Password: options[:password],
42
42
  CustomerNumber: options[:username],
43
- Source: 'ammor',
43
+ Source: SportsSouth.config.source,
44
44
  }
45
45
  end
46
46
  def form_params(*args); self.class.form_params(*args); end
@@ -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({po_number: po_number}))
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)
@@ -1,3 +1,3 @@
1
1
  module SportsSouth
2
- VERSION = '2.0.24'.freeze
2
+ VERSION = '2.0.25'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sports_south
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.24
4
+ version: 2.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell