finapps_core 2.0.10 → 2.0.11

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
  SHA1:
3
- metadata.gz: a29f169add56c5bfef1e9ab02ec975f17400aeca
4
- data.tar.gz: f1af34f46efdcb639006ea6870077ddc5ee70772
3
+ metadata.gz: ba9a8894286995ca721b2d50d158c54523876cf4
4
+ data.tar.gz: c1cde39e7a35019286750613f06d6e99bf124607
5
5
  SHA512:
6
- metadata.gz: 7a642077a5cef2321a47e632b69ec8133335a76e3e02d7e6ef97dd3a00273090fb27be0bb8c17918e7be80553060a8787cd0d16821063dec78fe270057e9586a
7
- data.tar.gz: d226f0d1493c711277ce53ed9db7b692a45f0f5dfe19b6a7d42b2f4a627e3538c34f07e63996d35a4b1cf8c9231a6eeaece550ba11919a89832cfe075a04f571
6
+ metadata.gz: 483a253db2a15ef78a5568d53ca31430eeb8c6923ad9f963444c2e9a57aaee475f05da3dbae87781cb974ce3a4b4a1ca2ba61efdada26a578d48ee21351255a6
7
+ data.tar.gz: 618072ac2dabaef92641dccf345d3daa0a7b249b339c3007be06a4bd31f3011094e635aa1c13da82e3c79c81af5d578c383183d4343a7525f61c7a3e33e45000
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- finapps_core (2.0.9)
4
+ finapps_core (2.0.10)
5
5
  faraday (~> 0.11, >= 0.11.0)
6
6
  faraday_middleware (~> 0.11, >= 0.11.0.1)
7
7
  rash (~> 0.4, >= 0.4.0)
@@ -2,18 +2,19 @@
2
2
  module FinAppsCore
3
3
  module REST
4
4
  class Resources # :nodoc:
5
+ include FinAppsCore::Utils::Loggeable
5
6
  include FinAppsCore::Utils::Validatable
6
7
  include FinAppsCore::Utils::ParameterFilter
7
8
  require 'erb'
8
9
 
9
- attr_reader :client, :logger
10
+ attr_reader :client
10
11
 
11
12
  # @param [FinAppsCore::REST::Client] client
12
13
  # @return [FinAppsCore::REST::Resources]
13
14
  def initialize(client)
14
15
  not_blank(client, :client)
15
16
  @client = client
16
- @logger = client.logger
17
+ @logger = client.logger if client.respond_to?(:logger)
17
18
  end
18
19
 
19
20
  def list(path=nil)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module FinAppsCore
3
- VERSION = '2.0.10'
3
+ VERSION = '2.0.11'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.10
4
+ version: 2.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero