authorizenetsample 1.2.3 → 1.2.4

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: cacc2dbd252a8f309998d31f56143ec75f181e8e
4
- data.tar.gz: d518c7c1c216b4ae32cb4555f4eb46a41d7f5d84
3
+ metadata.gz: 24bfec9aecaf520f4f0e3d347573dcceb1206a32
4
+ data.tar.gz: 0893d5de2013f40f022ba0ebb7720c28771678b2
5
5
  SHA512:
6
- metadata.gz: dccde4d57a6fd3ff181902fc203b1cf27408f30868344436f3b624278058e05f6c248562d4d4a9a3ff4c4fbc1a82d3c842d6d51cf6f58eef2b83c1014f78dd45
7
- data.tar.gz: c673d927d1b12063828c948b11bebbbcdaf27fb0afa4df170cd86a1e65f75678cad50d986bd3c6531c1de4d4ed3c3b974240ea5debd781988c99e0007c8a9649
6
+ metadata.gz: d4907e651fd440ed2d3933a55b7c799a4ed85cdd8731c84b4d43c59195771fdece44df85cada8135110e2ebcdfd822e473e47edf0a46d1c4e56751bbeb6df3c6
7
+ data.tar.gz: 44d6a2fc4881c26e88ff911468e68c1932a4a75a68c98e9a7a076bdf704bab8b3393364115a6b5c8da8b57759db19076a835894286fbf8a839e839c75ea6a568
@@ -15,8 +15,8 @@ require 'securerandom'
15
15
  request = CreateTransactionRequest.new
16
16
 
17
17
  billTo = CustomerAddressType.new
18
-
19
- if customerName != nil || customerName != ""
18
+ puts "Customername:#{customerName}"
19
+ if customerName != nil
20
20
  billTo.firstName = customerName.split(" ").first
21
21
  billTo.lastName = customerName.split(" ").last
22
22
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authorizenetsample
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Authorize.Net