monobank 1.0.0 → 1.0.1

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: 1330fb91b27e94addd547a3e917a377569f7f94da100c549608c482fad521a31
4
- data.tar.gz: 4fa1fcb966b87ad1ae081ac1d0dbc011c3bec0b3ffc40a969040c27b41ab1afd
3
+ metadata.gz: fa6a4b4a03f093b373724d73bbbda12ffd6c1d1728f40b5284090d9f7d1cc4fa
4
+ data.tar.gz: 6ee7b8871210e0651a7d12c93444a369b2b8601b8e1e156039d52eedf97b3626
5
5
  SHA512:
6
- metadata.gz: d7aba78c72f755a0cc634914f9be012c7e12c1a739e3ed54c1d186328476c263c9dfdcfa058134819fb066ce1088e636805fd85555ade32ee05c6067eeb23273
7
- data.tar.gz: 0ef715b877691c7669efc5dc64b7b428fd761b365f060426fc68e3ed31daa852c4a03b37fb8f59147162672a945f40081e2c0a2183cf5d4767cffd075cab226d
6
+ metadata.gz: ba86f1e0bc80f16805392f7aa1fe8612b4e50d3ea41b5f348111f1d585444e747e9bb90d2bb934bff874aa8ddcda10c98596757f34d1ae7a911d00b427f0bded
7
+ data.tar.gz: 66a504cfe64367f7f2c85b22da02e6f64927f6f4d324397608b6329e72ebd80ed2de1eb0bb9e8c60962e6a05a5dc17814382f8973dd0afb88832db29932b3207
@@ -4,7 +4,7 @@ module Monobank
4
4
  module Resources
5
5
  module Personal
6
6
  class Accounts < Base
7
- define_fields %w[id balance credit_limit currency_code cashback_type]
7
+ define_fields %w[id type balance credit_limit currency_code cashback_type]
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Monobank
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -72,6 +72,7 @@ describe Monobank do
72
72
  result = Monobank.client_info(token:)
73
73
  expect(result.name).to eq 'Мазепа Іван'
74
74
  expect(result.accounts.length).to eq 1
75
+ expect(result.accounts.first.type).to eq 'black'
75
76
  expect(result.accounts.first.currency_code).to eq 980
76
77
  expect(result.attributes).to match hash_including(
77
78
  'accounts' => array_including([
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monobank
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vergilet
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-05-02 00:00:00.000000000 Z
13
+ date: 2024-05-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty