ravelin 0.1.39 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ravelin/event.rb +15 -14
- data/lib/ravelin/supplier.rb +30 -0
- data/lib/ravelin/version.rb +1 -1
- data/lib/ravelin.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '038662e7b1108a43857081c07582bf19219b547c81ad2e8c7971f6c743f93c37'
|
4
|
+
data.tar.gz: 154459fe3f22b5d506d1952ba357bc03b1d9dfe394d882b63f37677e57aa9843
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e761e34a794cbd61dc33e498bb264aab90df7485f91c775387c3f8d09ce9bfd7c24ad7cc6fbe334b9bdeb005b4dbee27e476f3ff133b1fe480eeaf0dd350cb4e
|
7
|
+
data.tar.gz: 7f8dc2b205484baaf0dd27b26505c0b7a6ba6a47db0c60d3f6ef126057613b664313669de15f3448927509e5982bc94f51d7bd03942dff3c681e172db0aaf639
|
data/lib/ravelin/event.rb
CHANGED
@@ -27,21 +27,22 @@ module Ravelin
|
|
27
27
|
|
28
28
|
def object_classes
|
29
29
|
{
|
30
|
-
ato_login:
|
30
|
+
ato_login: AtoLogin,
|
31
31
|
authentication_mechanism: AuthenticationMechanism,
|
32
|
-
chargeback:
|
33
|
-
customer:
|
34
|
-
ato_reclaim:
|
35
|
-
device:
|
36
|
-
location:
|
37
|
-
login:
|
38
|
-
order:
|
39
|
-
password:
|
40
|
-
payment_method:
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
32
|
+
chargeback: Chargeback,
|
33
|
+
customer: Customer,
|
34
|
+
ato_reclaim: AtoReclaim,
|
35
|
+
device: Device,
|
36
|
+
location: Location,
|
37
|
+
login: Login,
|
38
|
+
order: Order,
|
39
|
+
password: Password,
|
40
|
+
payment_method: PaymentMethod,
|
41
|
+
supplier: Supplier,
|
42
|
+
voucher_redemption: VoucherRedemption,
|
43
|
+
transaction: transaction,
|
44
|
+
label: Label,
|
45
|
+
voucher: Voucher,
|
45
46
|
}
|
46
47
|
end
|
47
48
|
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Ravelin
|
2
|
+
class Supplier < RavelinObject
|
3
|
+
attr_accessor :supplier_id,
|
4
|
+
:type,
|
5
|
+
:group_id,
|
6
|
+
:group_name,
|
7
|
+
:registration_time,
|
8
|
+
:email,
|
9
|
+
:email_verified_time,
|
10
|
+
:name,
|
11
|
+
:telephone,
|
12
|
+
:telephone_verified_time,
|
13
|
+
:telephone_country,
|
14
|
+
:home_location,
|
15
|
+
:market,
|
16
|
+
:market_country,
|
17
|
+
:level,
|
18
|
+
:employment_type,
|
19
|
+
:transport_type,
|
20
|
+
:category,
|
21
|
+
:tags,
|
22
|
+
:custom
|
23
|
+
|
24
|
+
attr_required :supplier_id, :type
|
25
|
+
|
26
|
+
def home_location=(obj)
|
27
|
+
@home_location = Ravelin::Location.new(obj)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/ravelin/version.rb
CHANGED
data/lib/ravelin.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.40
|
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: 2021-11-
|
14
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: faraday
|
@@ -134,6 +134,7 @@ files:
|
|
134
134
|
- lib/ravelin/proxy_client.rb
|
135
135
|
- lib/ravelin/ravelin_object.rb
|
136
136
|
- lib/ravelin/response.rb
|
137
|
+
- lib/ravelin/supplier.rb
|
137
138
|
- lib/ravelin/tag.rb
|
138
139
|
- lib/ravelin/three_d_secure.rb
|
139
140
|
- lib/ravelin/transaction.rb
|