modulr-api 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +48 -73
  4. data/lib/modulr/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 151fec1b59fee97d4c008e8c229acdf65fb948a632443a5bf431fd4ab99db5b2
4
- data.tar.gz: edb08a27bdc84da31df9c2f3508ca72968546a988924e798ac6a2de0730b70a3
3
+ metadata.gz: fc934335d82433526a4054148d3ce46e50d44c79dea1cdef2098f5abb2a4f60e
4
+ data.tar.gz: 80bdac56af67a7fd4235b9bab3926068e95ecba9c350b2b735da0d61ceb9f953
5
5
  SHA512:
6
- metadata.gz: 8c71349b26005bb7185807f5a3d7d7d474f9a71cf672f8f9b5013e1475f3581a886787a2dadc71e22d6f5f7ffc5c3007aee1a1a51f055d7186a7df4b8ad03c2e
7
- data.tar.gz: a3519173719b22f64037939faf62c1efabd95fb7768933c37de3034ce74d26224f70ea068b1935f3d66f3cbfa5ea93ec73039043f294e14320a25626237ee3eb
6
+ metadata.gz: 455a7987afd8f7a2857c99d868ce6758f354779542ead2588abbcb13bf23b5a8b85d4c0f3cc6b6ffebae291a661dafdc67c71cc2e154af395a3ad78722560f4e
7
+ data.tar.gz: cc3502de65b28d99bae494ac1ca985f1c9b6fbc32c20cc56d7eaa2c325fc6f2ad37590e39563010fb05877ccf9cf60e4acbadadeb0aa33e1148ae50006d3aa40
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- modulr-api (0.0.19)
4
+ modulr-api (0.0.20)
5
5
  faraday (~> 1.0)
6
6
  faraday_middleware (~> 1.0)
7
7
 
data/README.md CHANGED
@@ -34,81 +34,56 @@ client.customers.find(id: "C2188C26")
34
34
 
35
35
  # Create a customer
36
36
  client.customers.create(
37
- type: "LLC",
38
- legal_entity: "GB",
39
- external_reference: "My new customer",
40
- name: "string",
41
- company_reg_number: "2018123987165432",
42
- registered_address: {
43
- addressLine1: "string",
44
- addressLine2: "string",
45
- postTown: "string",
46
- postCode: "string",
47
- country: "GB",
48
- countrySubDivision: "string"
37
+ type: "LLC",
38
+ legalEntity: "IE",
39
+ name: "Your company SL.",
40
+ expectedMonthlySpend: 99999,
41
+ companyRegNumber: "TAXID",
42
+ industryCode: "64929",
43
+ tcsVersion: 1,
44
+ tradingAddress: {
45
+ addressLine1: "Fake Street 34",
46
+ postTown: "Madrid",
47
+ postCode: "28003",
48
+ country: "ES",
49
+ },
50
+ registeredAddress: {
51
+ addressLine1: "Fake Street 34",
52
+ postTown: "Madrid",
53
+ postCode: "28003",
54
+ country: "ES",
55
+ },
56
+ associates: [
57
+ {
58
+ applicant: true,
59
+ dateOfBirth: "1977-05-31",
60
+ firstName: "Director Name",
61
+ lastName: "Director Last Name",
62
+ email: "director@yourcompany.com",
63
+ phone: "+34677777777",
64
+ type: "DIRECTOR",
65
+ homeAddress: {
66
+ addressLine1: "Fake Street 34",
67
+ postTown: "Madrid",
68
+ postCode: "28003",
69
+ country: "ES",
70
+ },
49
71
  },
50
- trading_address: {
51
- addressLine1: "string",
52
- addressLine2: "string",
53
- postTown: "string",
54
- postCode: "string",
55
- country: "GB",
56
- countrySubDivision: "string"
72
+ {
73
+ applicant: false,
74
+ dateOfBirth: "1976-08-14",
75
+ firstName: "Owner Name",
76
+ lastName: "Owner Last Name",
77
+ type: "BENE_OWNER",
78
+ ownership: 60,
79
+ homeAddress: {
80
+ addressLine1: "Fake Street 34",
81
+ postTown: "Madrid",
82
+ postCode: "28003",
83
+ country: "ES",
84
+ },
57
85
  },
58
- industry_code: "string",
59
- tcs_version: 0,
60
- expected_monthly_spend: 0,
61
- associates: [
62
- {
63
- type: "DIRECTOR",
64
- firstName: "string",
65
- middleName: "string",
66
- lastName: "string",
67
- dateOfBirth: "string",
68
- ownership: 0,
69
- homeAddress: {
70
- addressLine1: "string",
71
- addressLine2: "string",
72
- postTown: "string",
73
- postCode: "string",
74
- country: "GB",
75
- countrySubDivision: "string"
76
- },
77
- applicant: true,
78
- email: "string",
79
- phone: "string",
80
- documentInfo: [
81
- {
82
- path: "string",
83
- fileName: "string",
84
- uploadedDate: "2017-01-28T01:01:01+0000"
85
- }
86
- ],
87
- additionalIdentifiers: [
88
- {
89
- type: "BSN",
90
- value: "string"
91
- }
92
- ],
93
- complianceData: {
94
- relationship: "string"
95
- }
96
- }
97
- ],
98
- document_info: [
99
- {
100
- path: "string",
101
- fileName: "string",
102
- uploadedDate: "2017-01-28T01:01:01+0000"
103
- }
104
- ],
105
- provisional_customer_id: "string",
106
- customer_trust: {
107
- trustNature: "BARE_TRUSTS"
108
- },
109
- tax_profile: {
110
- taxIdentifier: "string"
111
- }
86
+ ]
112
87
  )
113
88
  ```
114
89
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Modulr
4
- VERSION = "0.0.19"
4
+ VERSION = "0.0.20"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modulr-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aitor García Rey