versapay 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Versapay
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/versapay.rb CHANGED
@@ -8,10 +8,12 @@ require "versapay/transactions"
8
8
 
9
9
  module Versapay
10
10
 
11
- class InvalidInput < Exception; end
12
- class InvalidWebhookSignature < Exception; end
13
- class Unprocessable < Exception; end
14
- class NotFound < Exception; end
11
+ class VersapayError < RuntimeError; end
12
+
13
+ class InvalidInput < VersapayError; end
14
+ class InvalidWebhookSignature < VersapayError; end
15
+ class Unprocessable < VersapayError; end
16
+ class NotFound < VersapayError; end
15
17
 
16
18
  class << self
17
19
  attr_accessor :token, :key
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: versapay
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Walberg
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-01 00:00:00 -06:00
18
+ date: 2012-01-13 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency