authorizenetsample 1.2.1 → 1.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e5508c09ec587d74bf0c9c8ae2d1ba88a5dda80
4
- data.tar.gz: 6db1286e200923bf5b620148b569548a6d3ea232
3
+ metadata.gz: 02ae5871c8e92d5a809b3525aaf2b8592367140a
4
+ data.tar.gz: c3a6f15cd9e6caf34a6f0961609b66d2208590d7
5
5
  SHA512:
6
- metadata.gz: 0d2b7127c1da8a807d52677b3741ee550bf2d7752f846e0334ba688c64ee8d293dd67be8c679bb42a8c52b443f04807c85ca1f6be36dfa07eaf3bbe3954f536b
7
- data.tar.gz: 033a904704ee8b68c7977b346998d54a8cacc02e27c874044ac3934ff74501f909385a430bb5eb19763c422a5241c2f5b0cceafef77e1ed9dfdfe93a451f00c9
6
+ metadata.gz: da621b9eae792007f922b8a2eac893cba95ada7e38bc1d1f4ae48d281ee9d6e2eb4827fecd79fdba283f34f14eec6be6b0ea9f9f767a074712ff3bcf1aa8c44b
7
+ data.tar.gz: 1f49d975f532d79e5a0a5ff7b1fcba4e294c9f7e6a213581c95074f45390a431252cbe8b9d874a331cc1e0b22a5ba638026953768e8c954d7a16cb1a318f1d81
@@ -15,17 +15,14 @@ require 'securerandom'
15
15
  request = CreateTransactionRequest.new
16
16
 
17
17
  billTo = CustomerAddressType.new
18
- #
19
- if(customerName != nil)
20
- {
18
+
19
+ if customerName != nil
21
20
  billTo.firstName = customerName.split(" ").first
22
21
  billTo.lastName = customerName.split(" ").last
23
- }
24
22
  else
25
- {
26
23
  billTo.firstName = "John"
27
24
  billTo.lastName = "Doe"
28
- }
25
+ end
29
26
 
30
27
  billTo.address = "123 My St"
31
28
  billTo.city = "OurTown"
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.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Authorize.Net