ravelin 0.1.21 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ravelin.rb +1 -0
- data/lib/ravelin/ato_reclaim.rb +8 -0
- data/lib/ravelin/event.rb +4 -0
- data/lib/ravelin/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcfb07b46dca3f2d6595dabad54d783e74f0e4fc1a108089f07e918de00740e8
|
4
|
+
data.tar.gz: 691bd80b5483b309c0820295121cb321ca20ea6b250356b7341dad7de57ed25e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cf2f3b8c1a5648a76271514fbf0ba9c22f7cd550d4c49560cbed7b1181ba40626c79eaed4a9d0b6b6be2ed7d2d136fbbaec0807e5b49db07f7841728072c4c4
|
7
|
+
data.tar.gz: 663b4dcc677062a1b8a8f76a53e6ca5a86909cf0f3dcc355df7e02410fbe5033069b80262b6a0896137c575722f559319e3ee2f4d593f8108f58d6455dededc3
|
data/lib/ravelin.rb
CHANGED
@@ -14,6 +14,7 @@ require 'ravelin/errors/invalid_label_value_error'
|
|
14
14
|
require 'ravelin/ravelin_object'
|
15
15
|
require 'ravelin/authentication_mechanism'
|
16
16
|
require 'ravelin/ato_login'
|
17
|
+
require 'ravelin/ato_reclaim'
|
17
18
|
require 'ravelin/chargeback'
|
18
19
|
require 'ravelin/customer'
|
19
20
|
require 'ravelin/device'
|
data/lib/ravelin/event.rb
CHANGED
@@ -30,6 +30,7 @@ module Ravelin
|
|
30
30
|
authentication_mechanism: AuthenticationMechanism,
|
31
31
|
chargeback: Chargeback,
|
32
32
|
customer: Customer,
|
33
|
+
ato_reclaim: AtoReclaim,
|
33
34
|
device: Device,
|
34
35
|
location: Location,
|
35
36
|
login: Login,
|
@@ -63,6 +64,8 @@ module Ravelin
|
|
63
64
|
when :checkout
|
64
65
|
validate_payload_inclusion_of :customer, :order,
|
65
66
|
:payment_method, :transaction
|
67
|
+
when :reclaim
|
68
|
+
validate_payload_inclusion_of :customers, :source
|
66
69
|
end
|
67
70
|
end
|
68
71
|
|
@@ -122,6 +125,7 @@ module Ravelin
|
|
122
125
|
payment_method: :paymentmethod,
|
123
126
|
pre_transaction: :pretransaction,
|
124
127
|
ato_login: :login,
|
128
|
+
ato_reclaim: :reclaim,
|
125
129
|
label: 'label/customer'.to_sym
|
126
130
|
}
|
127
131
|
|
data/lib/ravelin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ravelin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Levy
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: faraday
|
@@ -47,14 +47,14 @@ dependencies:
|
|
47
47
|
requirements:
|
48
48
|
- - "~>"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version:
|
50
|
+
version: 1.17.3
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - "~>"
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
57
|
+
version: 1.17.3
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rake
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,6 +109,7 @@ extra_rdoc_files: []
|
|
109
109
|
files:
|
110
110
|
- lib/ravelin.rb
|
111
111
|
- lib/ravelin/ato_login.rb
|
112
|
+
- lib/ravelin/ato_reclaim.rb
|
112
113
|
- lib/ravelin/authentication_mechanism.rb
|
113
114
|
- lib/ravelin/chargeback.rb
|
114
115
|
- lib/ravelin/client.rb
|
@@ -155,8 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
156
|
- !ruby/object:Gem::Version
|
156
157
|
version: '0'
|
157
158
|
requirements: []
|
158
|
-
|
159
|
-
rubygems_version: 2.7.9
|
159
|
+
rubygems_version: 3.0.6
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Ruby bindings for the Ravelin API
|