economic-rest 0.3.5 → 0.3.6

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: 908c6d73f7538cacc8a9dc4803dddbd62372a93c338c39deba8e5b50d2b6cf2c
4
- data.tar.gz: 458eff20fc6976d941553ba149b9ce7124231c8bd46c9bb8377e5b586b4614e1
3
+ metadata.gz: e4f478be083c1fa788177f69fc0bab5c60c175243d594a75ee6daacafd15027a
4
+ data.tar.gz: 5bf39d0170a7339a082ff5c2454fde2f388b8a5260130fcc9cc73647cde74256
5
5
  SHA512:
6
- metadata.gz: 1f437c2d4fbf955927245cf941b66acc8a665680e2e5a054b29047236637b19bbcce7776f7c20819b0c8656fb67117c1aa4bf6fe79ae489e52bba8ec2c765ee5
7
- data.tar.gz: e125cd5b5920aa6858f49dda59b1f6595a03beb015109844a6cc233f7dd206f33c204dd260d01ea01a82aac9ceb71fcb762c2ec49907fcda796c09ed27b04189
6
+ metadata.gz: bcd925be4161f7c7e7b1557569275f8b10c24fea858cfe85399db97cbcf149a22258af71f29a5b086307ddfb1cc4874d52a36c99c883a0d132d13ea9b2b46f2b
7
+ data.tar.gz: 914706cf3c7ea9175b682b0dcdb930c18abf502ccd06191d0d3645a88fa02da7d02a1d4c4a0e05195c1fec25b96f0fcce87fbc7f7343a8d78924b5c02f9296dc
data/lib/economic/rest.rb CHANGED
@@ -49,6 +49,7 @@ require "economic/accounting_year_repo"
49
49
  require "economic/unit"
50
50
  require "economic/unit_repo"
51
51
 
52
+ require 'economic/user'
52
53
  require "economic/company"
53
54
  require "economic/self"
54
55
  require "economic/self_repo"
@@ -1,5 +1,5 @@
1
1
  module Economic
2
2
  module Rest
3
- VERSION = "0.3.5".freeze
3
+ VERSION = "0.3.6".freeze
4
4
  end
5
5
  end
data/lib/economic/self.rb CHANGED
@@ -12,6 +12,6 @@ module Economic
12
12
  # relation :bankInformation object The company’s bank settings.
13
13
  relation :company, fields: []
14
14
  # relation :settings object Other settings.
15
- # relation :user object The currently logged in user.
15
+ relation :user, fields: []
16
16
  end
17
17
  end
@@ -0,0 +1,11 @@
1
+ module Economic
2
+ class User < Base
3
+ field :name
4
+ field :agreementNumber
5
+ field :email
6
+ field :loginId
7
+ field :name
8
+
9
+ # relation :language
10
+ end
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: economic-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Klogborg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-24 00:00:00.000000000 Z
11
+ date: 2019-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -166,6 +166,7 @@ files:
166
166
  - lib/economic/session.rb
167
167
  - lib/economic/unit.rb
168
168
  - lib/economic/unit_repo.rb
169
+ - lib/economic/user.rb
169
170
  - lib/economic/vat_type.rb
170
171
  - lib/economic/vat_type_repo.rb
171
172
  - lib/economic/vat_zone.rb