webpay 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,13 @@ module WebPay
10
10
  convert(WebPay.client.get(path))
11
11
  end
12
12
 
13
+ # Clear all test data of api_key's owner
14
+ # @return [Boolean] true if the request succeeded
15
+ def delete_data
16
+ response = WebPay.client.delete([path, 'data'].join('/'))
17
+ response['deleted']
18
+ end
19
+
13
20
  # @api private
14
21
  # @return [String] Relative path to API root: <code>'/account'</code>
15
22
  def path
@@ -1,5 +1,5 @@
1
1
  module WebPay
2
2
 
3
3
  # Version of WebPay gem
4
- VERSION = "2.0.1"
4
+ VERSION = "2.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-17 00:00:00.000000000 Z
13
+ date: 2013-07-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday