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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f574a40a67f7ea78ee7bc028c4ef627da62ac75f7ae5a081e07538349417d07a
4
- data.tar.gz: 5a70f450be6dce1a3fe6102857a84077f0a7b69d1a00e2c9388f98db08a8c0ef
3
+ metadata.gz: fcfb07b46dca3f2d6595dabad54d783e74f0e4fc1a108089f07e918de00740e8
4
+ data.tar.gz: 691bd80b5483b309c0820295121cb321ca20ea6b250356b7341dad7de57ed25e
5
5
  SHA512:
6
- metadata.gz: 1b0f53f1a63a803f618af31138193bee4a2aab351e819033b1b0c7326c8b10b57acfefd46626d42a67864a088839442a3624669d5e54d72853e917d7f4bcdf7f
7
- data.tar.gz: 08da69ab630807f84b12fb0bdf89f60935d038f6bb56a655dd21767d53f15ad4fea7fe9d2b28e6be9fd28e525c5b3999ab3231ca4adb008f62bb409baefffa3f
6
+ metadata.gz: 3cf2f3b8c1a5648a76271514fbf0ba9c22f7cd550d4c49560cbed7b1181ba40626c79eaed4a9d0b6b6be2ed7d2d136fbbaec0807e5b49db07f7841728072c4c4
7
+ data.tar.gz: 663b4dcc677062a1b8a8f76a53e6ca5a86909cf0f3dcc355df7e02410fbe5033069b80262b6a0896137c575722f559319e3ee2f4d593f8108f58d6455dededc3
@@ -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'
@@ -0,0 +1,8 @@
1
+ module Ravelin
2
+ class AtoReclaim < RavelinObject
3
+ attr_accessor :customers,
4
+ :source
5
+
6
+ attr_required :customers, :source
7
+ end
8
+ end
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Ravelin
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.23"
3
3
  end
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.21
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: 2019-05-28 00:00:00.000000000 Z
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: '1.11'
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: '1.11'
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
- rubyforge_project:
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