novaposhta_api 0.1.3 → 0.1.4

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: db0a59d6e83adee1e273164e0a7c3dc33828e2e0167451a4da1047dc88eaaf9e
4
- data.tar.gz: 465497a98ad80b79aa90ee2722bfce629db455a7467f9e4f13a03bedef4ed79d
3
+ metadata.gz: 27b5e088bffd8d40473377c7f1a385845da0bd2e927e6dabccf1768bc8e082ac
4
+ data.tar.gz: b372fdda387d3624bb89af76741fdd340901b33684b26c00a6ad3906c965eb3b
5
5
  SHA512:
6
- metadata.gz: cf3b30451c7c21da4d71b7439f725c00b136c6240816501cb808b83ce738548a315509cc478473ca344ac9e2975521230e9654b78bc35db4e489dc47ed2c711d
7
- data.tar.gz: c18707a6fc4f48be132091376dc6ec39322868aabd1fdcb5201ae53421947abfff3bcbc790cc6068345fe979f3cfb9b47db6fe3a3263fb0c7f7e225033ed9a9f
6
+ metadata.gz: 11af93b86668497b2984bc84ad23248800a8627fd6851e363a6a7c6587b96b73f92664063b90b06e1d257dda71c0fa5115eb6cc86bfeae3ced4cf24242e5cff4
7
+ data.tar.gz: 55eaee4db23d4cf22d3d332aa0109e32c27eab888c9b0920422ff9ad4afb7c6a978a5ec1a4e34d31ae12195f17aca2b6b487b2530fd54cfcc5569fcef1817ca1
@@ -31,6 +31,7 @@ module NovaposhtaApi
31
31
  autoload :TrackingDocument, 'novaposhta_api/models/tracking_document'
32
32
  autoload :Settlement, 'novaposhta_api/models/settlement'
33
33
  autoload :Warehouse, 'novaposhta_api/models/warehouse'
34
+ autoload :ContactPerson, 'novaposhta_api/models/contact_person'
34
35
  end
35
36
 
36
37
  Error = Class.new(StandardError)
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module NovaposhtaApi
4
+ module Models
5
+ class ContactPerson < Model
6
+ property :ref, from: :Ref
7
+ property :first_name, from: :FirstName
8
+ property :middle_name, from: :MiddleName
9
+ property :last_name, from: :LastName
10
+ property :phones, from: :Phones
11
+ property :description, from: :Description
12
+ property :email, from: :Email
13
+ end
14
+ end
15
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NovaposhtaApi
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: novaposhta_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - venet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-06 00:00:00.000000000 Z
11
+ date: 2020-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -87,6 +87,7 @@ files:
87
87
  - lib/novaposhta_api/middlewares/parse_json.rb
88
88
  - lib/novaposhta_api/model.rb
89
89
  - lib/novaposhta_api/models/city.rb
90
+ - lib/novaposhta_api/models/contact_person.rb
90
91
  - lib/novaposhta_api/models/counterparty.rb
91
92
  - lib/novaposhta_api/models/internet_document.rb
92
93
  - lib/novaposhta_api/models/settlement.rb