baby-braspag 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,39 +1,40 @@
1
1
  module Braspag
2
- class InvalidConnection < Exception ; end
3
- class InvalidMerchantId < Exception ; end
4
- class InvalidConnection < Exception ; end
5
- class IncompleteParams < Exception ; end
6
- class InvalidOrderId < Exception ; end
7
- class InvalidCustomerName < Exception ; end
8
- class InvalidCustomerId < Exception ; end
9
- class InvalidNumber < Exception ; end
10
- class InvalidInstructions < Exception ; end
11
- class InvalidExpirationDate < Exception ; end
12
- class InvalidStringFormat < Exception ; end
13
- class InvalidPost < Exception ; end
14
- class InvalidPaymentMethod < Exception ; end
15
- class InvalidAmount < Exception ; end
16
- class InvalidInstallments < Exception ; end
17
- class InvalidHasInterest < Exception ; end
18
- class InvalidIP < Exception; end
19
- class InvalidCryptKey < Exception; end
20
- class InvalidEncryptedKey < Exception; end
21
- class InvalidHolder < Exception ; end
22
- class InvalidExpirationDate < Exception ; end
23
- class InvalidSecurityCode < Exception ; end
24
- class InvalidType < Exception ; end
25
- class InvalidNumberPayments < Exception ; end
26
- class InvalidNumberInstallments < Exception ; end
27
- class InvalidJustClickKey < Exception ; end
28
- class UnknownError < Exception ; end
2
+ class Error < Exception; end
3
+ class InvalidConnection < Error ; end
4
+ class InvalidMerchantId < Error ; end
5
+ class InvalidConnection < Error ; end
6
+ class IncompleteParams < Error ; end
7
+ class InvalidOrderId < Error ; end
8
+ class InvalidCustomerName < Error ; end
9
+ class InvalidCustomerId < Error ; end
10
+ class InvalidNumber < Error ; end
11
+ class InvalidInstructions < Error ; end
12
+ class InvalidExpirationDate < Error ; end
13
+ class InvalidStringFormat < Error ; end
14
+ class InvalidPost < Error ; end
15
+ class InvalidPaymentMethod < Error ; end
16
+ class InvalidAmount < Error ; end
17
+ class InvalidInstallments < Error ; end
18
+ class InvalidHasInterest < Error ; end
19
+ class InvalidIP < Error; end
20
+ class InvalidCryptKey < Error; end
21
+ class InvalidEncryptedKey < Error; end
22
+ class InvalidHolder < Error ; end
23
+ class InvalidExpirationDate < Error ; end
24
+ class InvalidSecurityCode < Error ; end
25
+ class InvalidType < Error ; end
26
+ class InvalidNumberPayments < Error ; end
27
+ class InvalidNumberInstallments < Error ; end
28
+ class InvalidJustClickKey < Error ; end
29
+ class UnknownError < Error ; end
29
30
 
30
31
  class Connection
31
- class InvalidMerchantId < Exception ; end
32
- class InvalidEnv < Exception ; end
33
- class InvalidBraspagUrl < Exception ; end
32
+ class InvalidMerchantId < Error ; end
33
+ class InvalidEnv < Error ; end
34
+ class InvalidBraspagUrl < Error ; end
34
35
  end
35
36
 
36
37
  class Order
37
- class InvalidData < Exception; end
38
+ class InvalidData < Error; end
38
39
  end
39
40
  end
@@ -1,3 +1,3 @@
1
1
  module Braspag
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baby-braspag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
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: 2013-01-22 00:00:00.000000000 Z
12
+ date: 2013-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httpi
@@ -242,12 +242,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
242
242
  - - ! '>='
243
243
  - !ruby/object:Gem::Version
244
244
  version: '0'
245
+ segments:
246
+ - 0
247
+ hash: -959238660354841941
245
248
  required_rubygems_version: !ruby/object:Gem::Requirement
246
249
  none: false
247
250
  requirements:
248
251
  - - ! '>='
249
252
  - !ruby/object:Gem::Version
250
253
  version: '0'
254
+ segments:
255
+ - 0
256
+ hash: -959238660354841941
251
257
  requirements: []
252
258
  rubyforge_project: baby-braspag
253
259
  rubygems_version: 1.8.24
@@ -266,4 +272,3 @@ test_files:
266
272
  - spec/protected_credit_card_spec.rb
267
273
  - spec/spec_helper.rb
268
274
  - spec/utils_spec.rb
269
- has_rdoc: