authorize_net 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/authorize_net/api.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af027737f355d0be9ecdf632b089872b67c055ba
4
- data.tar.gz: af7373a60654eb83262507dd8b5b3475bf0018f1
3
+ metadata.gz: 78fec70e849d16c5ede26ebba40e14bf6f0af8d2
4
+ data.tar.gz: e522029cf5da5c8ae60f0b6fd9b4d4af157439d0
5
5
  SHA512:
6
- metadata.gz: 67c4b05bbea66632978c76b3d7e35ce210746fba8cdd7bd1cf1479a5499d863d3df2da4cc55396d049524a92d52076ac5a091a231424fa085bc67a0eef1d5f50
7
- data.tar.gz: 3045de76b817e9e898478829c768c7165be7db6ffb0b96f13065fe13be8e89f4a1800aaf2df6704d729d32b5d03fc35f212b3efc4f85c6c9cb252852ef24f067
6
+ metadata.gz: 1cc13172b15a0445a9a2c0a938e6b299f52fbd62ee96459d85f2539ee5bb60e9ab37837e54ca8fc8294d69022eccc319003550b0ddaa35823aec925b842c897c
7
+ data.tar.gz: 4a109395ff2e53be5db64b4951d8ec7d48df6766ea5c994bf8003f093540455fe641e5c817cb2f0ef81d31d914e78d80e0d9fa8d05a47abfd27fb7d491100cf5
@@ -309,13 +309,13 @@ class AuthorizeNet::Api
309
309
  @logger.info("[AuthorizeNet] Responded with resultCode=\"#{response.result}\"")
310
310
  end
311
311
 
312
- if !response.messages.nil? and @logger.respond_to? :info
312
+ if !response.messages.nil? and @logger.respond_to?(:info)
313
313
  response.messages.each do |msg|
314
314
  @logger.info("[AuthorizeNet] Message code=\"#{msg[:code]}\" text=\"#{msg[:text]}\"")
315
315
  end
316
316
  end
317
317
 
318
- if !response.errors.nil? and @logger.respond_to? :error
318
+ if !response.errors.nil? and @logger.respond_to?(:error)
319
319
  response.errors.each do |error|
320
320
  @logger.error("[AuthorizeNet] Error code=\"#{error[:code]}\" text=\"#{error[:text]}\"")
321
321
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authorize_net
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avenir Interactive LLC