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.
- data/lib/baby-braspag/errors.rb +32 -31
- data/lib/baby-braspag/version.rb +1 -1
- metadata +8 -3
data/lib/baby-braspag/errors.rb
CHANGED
@@ -1,39 +1,40 @@
|
|
1
1
|
module Braspag
|
2
|
-
class
|
3
|
-
class
|
4
|
-
class
|
5
|
-
class
|
6
|
-
class
|
7
|
-
class
|
8
|
-
class
|
9
|
-
class
|
10
|
-
class
|
11
|
-
class
|
12
|
-
class
|
13
|
-
class
|
14
|
-
class
|
15
|
-
class
|
16
|
-
class
|
17
|
-
class
|
18
|
-
class
|
19
|
-
class
|
20
|
-
class
|
21
|
-
class
|
22
|
-
class
|
23
|
-
class
|
24
|
-
class
|
25
|
-
class
|
26
|
-
class
|
27
|
-
class
|
28
|
-
class
|
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 <
|
32
|
-
class InvalidEnv <
|
33
|
-
class InvalidBraspagUrl <
|
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 <
|
38
|
+
class InvalidData < Error; end
|
38
39
|
end
|
39
40
|
end
|
data/lib/baby-braspag/version.rb
CHANGED
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.
|
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-
|
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:
|