contacts_client 0.0.49 → 0.0.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +10 -10
- data/app/models/history_entry.rb +19 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMjU2":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
5
|
-
|
4
|
+
NjAwODg2NmFmYWQyYWYxNmYwNzhiNDQxOTFjNWRiYTVmZmI3YWMwMTI0ZmQ2
|
5
|
+
NTVjN2E5MWUxNDJiMDFjM2ZmNA==
|
6
6
|
data.tar.gz: !binary |-
|
7
|
-
|
8
|
-
|
7
|
+
MjNlOGQ3NGJlOWRmNmI3MThlNTc2ZjQ5MjcyYTgyZGMwZDFkNjFlM2IyMDY1
|
8
|
+
ZTYyMTU5YWVlMTlmODVmNjg5Zg==
|
9
9
|
SHA512:
|
10
10
|
metadata.gz: !binary |-
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
NWVhMjVlMjgyMDU4ZDFmMTgzMDY2NDlkYzE3MWM5ODVmNzFlOTI1OTYxZTlk
|
12
|
+
NTU3NDRhOWViOTFjNDU5NTkxNjM4MWFhZjU1NWFiOWIyOTVmZTk4NDRjY2Ez
|
13
|
+
ZmQ3NGI5OTBkOGIzZjlkZjBlZWZmYmM4MmRiZGVlYjJmYjI5MjI=
|
14
14
|
data.tar.gz: !binary |-
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
ZWM5OWRkYTFjMTI4M2FkM2FmYjkxYWEyYmI4MWU3OTZlNGRhNWI3NjI1MTQ3
|
16
|
+
NDNhY2JlNmI5YmQzY2JmNGQzOTU3YWYyMmQwMzc2OThlMzRhZDM3MDU2OGY5
|
17
|
+
OGEwYTFhNmZmMzU4N2M3Y2I5YTM5Y2EyNjdjNDQ2ZjBjYzU1ZDc=
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class HistoryEntry < LogicalModel
|
2
|
+
use_hydra Contacts::HYDRA
|
3
|
+
|
4
|
+
set_resource_url Contacts::HOST,'/v0/history_entries'
|
5
|
+
set_api_key :app_key, Contacts::API_KEY
|
6
|
+
|
7
|
+
attribute :_id
|
8
|
+
attribute :historiable_type
|
9
|
+
attribute :historiable_id
|
10
|
+
attribute :contact_id
|
11
|
+
attribute :attribute
|
12
|
+
attribute :old_value
|
13
|
+
attribute :changed_at
|
14
|
+
|
15
|
+
def contact_id
|
16
|
+
self.historiable_id
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contacts_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -54,6 +54,7 @@ files:
|
|
54
54
|
- app/models/custom_attribute.rb
|
55
55
|
- app/models/date_attribute.rb
|
56
56
|
- app/models/email.rb
|
57
|
+
- app/models/history_entry.rb
|
57
58
|
- app/models/identification.rb
|
58
59
|
- app/models/occupation.rb
|
59
60
|
- app/models/padma_contact.rb
|