paylane 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -54,7 +54,7 @@ If something went wrong `PayLane::ConnectionError` error will be raised.
54
54
 
55
55
  ## Usage - custom methods
56
56
 
57
- Gem provides custom methods to simplify an implementation of payments in your app.
57
+ Gem provides custom methods to simplify implementation of payments in your app.
58
58
 
59
59
  ### Configuration
60
60
 
@@ -58,7 +58,7 @@ module PayLane
58
58
  soap_response.to_hash
59
59
  rescue Savon::Error => e
60
60
  err = PayLane::ConnectionError.new(e)
61
- PayLane.logger.error("[PayLane][Savon] #{err}")
61
+ PayLane.logger.error("[PayLane][Savon] #{err.to_hash}")
62
62
  raise err
63
63
  end
64
64
  end
@@ -6,8 +6,8 @@ module PayLane
6
6
  @soap_error = soap_error
7
7
  end
8
8
 
9
- def to_s
10
- @soap_error.to_s
9
+ def to_hash
10
+ @soap_error.to_hash
11
11
  end
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module PayLane
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paylane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-21 00:00:00.000000000 Z
12
+ date: 2012-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon