witei_web_api 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -9
- data/lib/witei_web_api/house.rb +25 -2
- data/lib/witei_web_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55fa8909edd37b50158593031164021ea1538a790b691749036b6427df17ed7f
|
4
|
+
data.tar.gz: 3b4f6b8df3963f1b0315dbf23a141fb1794489176b454f77919fc0c302209ea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 500cfd38841b45a275860ce2fe3ab11e1c90fa53d442e1f1ebcdb1b4086bf17e5240bfa404481fbc6738e956eba527c18231dd4c5258741865ae05e3f0a441ed
|
7
|
+
data.tar.gz: f75144f12ca548c8dc7dd6fdc3b0348f705ab9322fa890fd6d986c5af30bfd0425753538889f9c9ff18476af52b66c13eeacdc85d17325b157587ed7302a3e78
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
witei_web_api (0.2.
|
4
|
+
witei_web_api (0.2.2)
|
5
5
|
activemodel (~> 5.0)
|
6
6
|
mechanize (~> 2.7)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (5.2.
|
12
|
-
activesupport (= 5.2.
|
13
|
-
activesupport (5.2.
|
11
|
+
activemodel (5.2.1)
|
12
|
+
activesupport (= 5.2.1)
|
13
|
+
activesupport (5.2.1)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 0.7, < 2)
|
16
16
|
minitest (~> 5.1)
|
17
17
|
tzinfo (~> 1.1)
|
18
18
|
addressable (2.5.2)
|
19
19
|
public_suffix (>= 2.0.2, < 4.0)
|
20
|
-
concurrent-ruby (1.
|
20
|
+
concurrent-ruby (1.1.4)
|
21
21
|
connection_pool (2.2.2)
|
22
22
|
crack (0.4.3)
|
23
23
|
safe_yaml (~> 1.0.0)
|
@@ -27,7 +27,7 @@ GEM
|
|
27
27
|
hashdiff (0.3.7)
|
28
28
|
http-cookie (1.0.3)
|
29
29
|
domain_name (~> 0.5)
|
30
|
-
i18n (1.
|
30
|
+
i18n (1.5.3)
|
31
31
|
concurrent-ruby (~> 1.0)
|
32
32
|
json (2.1.0)
|
33
33
|
mechanize (2.7.6)
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
mime-types (3.1)
|
43
43
|
mime-types-data (~> 3.2015)
|
44
44
|
mime-types-data (3.2016.0521)
|
45
|
-
mini_portile2 (2.
|
45
|
+
mini_portile2 (2.4.0)
|
46
46
|
minitest (5.11.3)
|
47
47
|
minitest-line (0.6.5)
|
48
48
|
minitest (~> 5.0)
|
@@ -51,8 +51,8 @@ GEM
|
|
51
51
|
net-http-digest_auth (1.4.1)
|
52
52
|
net-http-persistent (3.0.0)
|
53
53
|
connection_pool (~> 2.2)
|
54
|
-
nokogiri (1.
|
55
|
-
mini_portile2 (~> 2.
|
54
|
+
nokogiri (1.10.1)
|
55
|
+
mini_portile2 (~> 2.4.0)
|
56
56
|
ntlm-http (0.1.1)
|
57
57
|
public_suffix (3.0.2)
|
58
58
|
rake (12.3.1)
|
data/lib/witei_web_api/house.rb
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
class WiteiWebApi::House < WiteiWebApi::Base
|
2
|
-
attr_accessor :owner_id,
|
2
|
+
attr_accessor :owner_id,
|
3
|
+
:partner_id,
|
4
|
+
:recruiter_id,
|
5
|
+
:commercial_id,
|
6
|
+
:creator_id,
|
7
|
+
:keys,
|
8
|
+
:sign_displayed,
|
9
|
+
:notes,
|
10
|
+
:ref_number,
|
11
|
+
:agreement_type,
|
12
|
+
:agreement_valid_from,
|
13
|
+
:agreement_valid_until,
|
14
|
+
:commission_amount,
|
15
|
+
:commission_shared_percent,
|
16
|
+
:commission_percent
|
3
17
|
|
4
18
|
has_one(:owner) { WiteiWebApi::Contact }
|
5
19
|
has_one(:partner) { WiteiWebApi::Contact }
|
@@ -20,7 +34,16 @@ class WiteiWebApi::House < WiteiWebApi::Base
|
|
20
34
|
recruiter_id: form['recruiter'],
|
21
35
|
commercial_id: form['commercial'],
|
22
36
|
creator_id: form['creator'],
|
23
|
-
|
37
|
+
keys: form['keys'],
|
38
|
+
sign_displayed: form['sign_displayed'],
|
39
|
+
notes: form['notes'],
|
40
|
+
ref_number: form['ref_number'],
|
41
|
+
agreement_type: form['agreement_type'],
|
42
|
+
agreement_valid_from: form['agreement_valid_from'],
|
43
|
+
agreement_valid_until: form['agreement_valid_until'],
|
44
|
+
commission_amount: form['commission_amount'],
|
45
|
+
commission_shared_percent: form['commission_shared_percent'],
|
46
|
+
commission_percent: form['commission_percent']
|
24
47
|
)
|
25
48
|
house
|
26
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: witei_web_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Polushkin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|