contacts_client 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/models/padma_contact.rb +6 -1
  2. metadata +2 -2
@@ -27,7 +27,8 @@ class PadmaContact < LogicalModel
27
27
  :email, # Primary email (contact attribute)
28
28
  :telephone, # Primary telephone (contact attribute)
29
29
  :in_active_merge,
30
- :observation
30
+ :observation,
31
+ :in_professional_training
31
32
  ]
32
33
  self.has_many_keys = [:contact_attributes, :attachments, :tags]
33
34
  self.use_api_key = true
@@ -99,6 +100,10 @@ class PadmaContact < LogicalModel
99
100
  self._id.present?
100
101
  end
101
102
 
103
+ def in_professional_training?
104
+ self.in_professional_training
105
+ end
106
+
102
107
  ContactAttribute::AVAILABLE_TYPES.each do |type|
103
108
  define_method(type.to_s.pluralize) do
104
109
  if self.contact_attributes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contacts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-08 00:00:00.000000000 Z
12
+ date: 2014-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties