iwoca 1.1.0 → 1.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 198e9be11e22df1a0eeaaf7aeadf91a8d915890c83c034232f6c4f6bdf950d6b
4
- data.tar.gz: 36a2b9b54228c00b077e2bb8a4f4be34e3f71b32631ae90a23fbc5a1d88c32a4
3
+ metadata.gz: 68021cd07077c3fc000c9a81f8f6016847a9f7e57df374df12648470d86f4e5a
4
+ data.tar.gz: 4a27fec8ceba11a0a424dd4543aeeabaf67c4f604bb44f90e6957da199def42e
5
5
  SHA512:
6
- metadata.gz: 9551708a25561b0ea8355ad4372e6fb65161d9e2b0ad418d48938fab648efe07b26d5191d8b80b99151f206873bef71662c7ad96485dd864629e03ac9f6ae446
7
- data.tar.gz: 4683b1b27606c672d0feecc6c1160ec51218b223f57c253f4e4a266544587dba07393f6465752a916b0bf6788d2e24050d4252d7a410d0c55ad952bd96d46cbe
6
+ metadata.gz: 38da9126aef94769799ad02fd8ea79f102a36d9185907d1028b0aec11380f18b109456d4ee471ef27e3618cb536b5f50cceb2ff3c2d34ac46550ae4e011131a8
7
+ data.tar.gz: c36ab903f2341614df679c4e6e2d1851624a15a17d981699b75c08918a2a5a0e5e6dafff3e9ea90245e96b8da9d93f189ec7a7b573c65779af85e73337890d25
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iwoca (1.1.0)
4
+ iwoca (1.1.1)
5
5
  addressable
6
6
  faraday (~> 2.7)
7
7
  json-schema
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'json-schema'
4
+
3
5
  module Iwoca
4
6
  class Application
5
7
  # This needs to be used after the customer has been created. It returns an application_id that
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'json-schema'
4
+
3
5
  module Iwoca
4
6
  class Customer
5
7
  # The POST request should be used to create an iwoca account for the customer. It's always the
data/lib/iwoca/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Iwoca
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
@@ -65,14 +65,6 @@ module Iwoca
65
65
  connection.post('subscriptions/', json)
66
66
  end
67
67
 
68
- {
69
- "data": {
70
- "webhook_event_types": [
71
- "approval_status_changed"
72
- ]
73
- }
74
- }
75
-
76
68
  def self.unsubscribe(event_types:)
77
69
  json = {}
78
70
  connection.delete('subscriptions/', json)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iwoca
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-29 00:00:00.000000000 Z
11
+ date: 2023-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable