egov_utils 1.5.0.alpha4 → 1.5.0.alpha5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 046c5759eba0d80446d93f8a3c3b8ce4dc18a83aa7fd5c562a5f5cb4dcac7359
|
4
|
+
data.tar.gz: b8b0bbb2f87977252bca9a46a14d62149ecd9bee5d153b54e4fd6aae3dbbcda3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80a826cb596f3add692963cc1b6b3924138c48409b0c3e91a0459ecd6712573de12f8ca22f2969c54828a89e69889ba9dc8f8bcd8a09fbfa064d96d7fae2e97f
|
7
|
+
data.tar.gz: 44ce23500051b01ac765299531ff15f9fed61ea7fd11c04056939a5fa0419103d0fb8902e3fc25783880737b9e222ac91a709768142412936512c9002c31483e
|
@@ -4,14 +4,10 @@ module EgovUtils
|
|
4
4
|
module Iszr
|
5
5
|
class Client
|
6
6
|
def initialize(message)
|
7
|
-
@client = Savon.client(wsdl:
|
7
|
+
@client = Savon.client(wsdl: EgovUtils::Settings['iszr']['endpoint'], log: true, log_level: :info, ssl_verify_mode: :none)
|
8
8
|
@message = message
|
9
9
|
end
|
10
10
|
|
11
|
-
def self.config
|
12
|
-
EgovUtils::Settings['iszr']
|
13
|
-
end
|
14
|
-
|
15
11
|
def call
|
16
12
|
client.call(
|
17
13
|
:get_data,
|
@@ -4,7 +4,7 @@ module EgovUtils
|
|
4
4
|
class Search < ActiveInteraction::Base
|
5
5
|
string :firstname
|
6
6
|
string :lastname
|
7
|
-
|
7
|
+
string :birth_date
|
8
8
|
string :birth_place, default: nil
|
9
9
|
|
10
10
|
validates :firstname, :lastname, :birth_date, presence: true
|
@@ -20,7 +20,7 @@ module EgovUtils
|
|
20
20
|
|
21
21
|
def find_person_service
|
22
22
|
if Rails.env.production?
|
23
|
-
EgovUtils::Iszr::NaturalPeople::
|
23
|
+
EgovUtils::Iszr::NaturalPeople::CreateRequest
|
24
24
|
else
|
25
25
|
EgovUtils::Iszr::NaturalPeople::DevSearch
|
26
26
|
end
|
data/lib/egov_utils/version.rb
CHANGED
data/lib/egov_utils.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egov_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.0.
|
4
|
+
version: 1.5.0.alpha5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
@@ -416,6 +416,20 @@ dependencies:
|
|
416
416
|
- - ">="
|
417
417
|
- !ruby/object:Gem::Version
|
418
418
|
version: '0'
|
419
|
+
- !ruby/object:Gem::Dependency
|
420
|
+
name: savon
|
421
|
+
requirement: !ruby/object:Gem::Requirement
|
422
|
+
requirements:
|
423
|
+
- - ">="
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: '0'
|
426
|
+
type: :runtime
|
427
|
+
prerelease: false
|
428
|
+
version_requirements: !ruby/object:Gem::Requirement
|
429
|
+
requirements:
|
430
|
+
- - ">="
|
431
|
+
- !ruby/object:Gem::Version
|
432
|
+
version: '0'
|
419
433
|
- !ruby/object:Gem::Dependency
|
420
434
|
name: azahara_schema
|
421
435
|
requirement: !ruby/object:Gem::Requirement
|