finapps 6.9.0 → 6.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/finapps/rest/client.rb +1 -1
- data/lib/finapps/version.rb +1 -1
- data/spec/rest/client_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd7bfa629da6059e44c977436c430e5b1e0e4b742abb5b19e8e7a070bf5a425b
|
4
|
+
data.tar.gz: a0bdb2709ea8130346b3e5e0d964fe3474b9238c5d8decae98347ad6f6236c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e94cbd91b30336272d92d4419ee827fdd8dc9cff2b0e64dcbb0180c5d2438e320cb004bfec2ccee7b36090b165a4a9015a0fbdcd635f27f35308ecfc2fe504e
|
7
|
+
data.tar.gz: 70ff07c8e19641bfea84e8b19b4ab979de6d6a21acc73a453e88d7736321a234a175d4a04ebaf19b089120b6ebb5f908ed55a683021d3596843382554b935b10
|
data/lib/finapps/rest/client.rb
CHANGED
@@ -68,7 +68,7 @@ module FinApps
|
|
68
68
|
|
69
69
|
QUERY_RESOURCES.each do |method|
|
70
70
|
define_method(method) do
|
71
|
-
class_name =
|
71
|
+
class_name = method.to_s.gsub(/query_/, '').capitalize
|
72
72
|
variable = "@#{method}"
|
73
73
|
|
74
74
|
method_definition(method, class_name, variable) do |_|
|
data/lib/finapps/version.rb
CHANGED
data/spec/rest/client_spec.rb
CHANGED
@@ -12,7 +12,8 @@ RSpec.describe FinApps::REST::Client do
|
|
12
12
|
context 'with an instance of Client' do
|
13
13
|
subject(:client) { described_class.new(:company_token) }
|
14
14
|
|
15
|
-
FinApps::REST::Client::RESOURCES
|
15
|
+
(FinApps::REST::Client::RESOURCES +
|
16
|
+
FinApps::REST::Client::QUERY_RESOURCES).each do |method|
|
16
17
|
it("responds to #{method}") { expect(client).to respond_to(method) }
|
17
18
|
|
18
19
|
it "memoizes the result of #{method}" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finapps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.9.
|
4
|
+
version: 6.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erich Quintero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: finapps_core
|