fatture_in_cloud_ruby 0.1.2 → 0.1.3

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: d04e0372efdb015f54676625a0d3f071500ae51a49c2babc693eb18b95e4b004
4
- data.tar.gz: 38e6bafc20650f5adafa22c6c74a1f454475b00f69561bd193b1eb76ce4ffee7
3
+ metadata.gz: 3ccd69d477867e756b04fac66e79a9285ed8a8a7f6038de12c7f368397dd065b
4
+ data.tar.gz: 901f6badb0a29f69774eecc269fa1b3e657cee2dd2d9b796786c39987fe7658b
5
5
  SHA512:
6
- metadata.gz: 3daf1207b1476c94294946f3907861f94133d2c8445c21244a3fcaab2b32affcf5c61cc7ff62e960012d65a6835675574395447019d66e08c39a52775cd7b17d
7
- data.tar.gz: c2ba31c45273923545ab9684fb71ad58f17078e7e7b7e33f5cd870da74e553e7601fcf3829258bbf854d81da224c31f1af8c400c825681719aeaf48eeec51121
6
+ metadata.gz: 8fcc1420eb826239f14cf5e291ad554a3f778eaf8fce6c6c384676a23ec5e4eff13777441818c4617cc374bdc59ac9c8f09d3ae2f105f2e4453848d3c7daf3ac
7
+ data.tar.gz: cec1b253a4665febc7262f5d35e1db7c5ffb593dafb3dbab9b5b2d596e9011350838abf113377fa4fc4c720c465ed378bca1b436c86d11cea38a93c898c3f3e9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fatture_in_cloud_ruby (0.1.2)
4
+ fatture_in_cloud_ruby (0.1.3)
5
5
  api_struct (~> 1.0.5)
6
6
  dry-configurable (~> 0.8.0)
7
7
 
@@ -0,0 +1,7 @@
1
+ ApiStruct::Settings.configure do |config|
2
+ config.endpoints = {
3
+ fatture_in_cloud: {
4
+ root: 'https://api.fattureincloud.it/v1',
5
+ }
6
+ }
7
+ end
@@ -0,0 +1,8 @@
1
+ module FattureInCloudRuby
2
+ class Settings
3
+ extend ::Dry::Configurable
4
+
5
+ setting :api_key
6
+ setting :api_uid
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module FattureInCloudRuby
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -1,11 +1,9 @@
1
1
  require 'api_struct'
2
2
  require 'dry-configurable'
3
3
 
4
- # require 'fatture_in_cloud_ruby/settings'
5
- require 'fatture_in_cloud_ruby/api_struct_settings'
6
-
7
- require "fatture_in_cloud_ruby/version"
8
- require "fatture_in_cloud_ruby/clients/corrispettivi"
4
+ require_relative 'api_struct_settings'
5
+ require_relative "version"
6
+ require_relative "clients/corrispettivi"
9
7
 
10
8
  module FattureInCloudRuby
11
9
  extend Dry::Configurable
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fatture_in_cloud_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrea Vanini
@@ -112,7 +112,9 @@ files:
112
112
  - bin/setup
113
113
  - fatture_in_cloud_ruby.gemspec
114
114
  - lib/fatture_in_cloud_ruby.rb
115
+ - lib/fatture_in_cloud_ruby/api_struct_settings.rb
115
116
  - lib/fatture_in_cloud_ruby/clients/corrispettivi.rb
117
+ - lib/fatture_in_cloud_ruby/settings.rb
116
118
  - lib/fatture_in_cloud_ruby/version.rb
117
119
  homepage: https://github.com/uidu-org/fatture-in-cloud-ruby
118
120
  licenses: