preact 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/preact/objects/person.rb +2 -1
- data/lib/preact/version.rb +1 -1
- metadata +1 -1
@@ -1,12 +1,13 @@
|
|
1
1
|
class Preact::Person < Preact::ApiObject
|
2
2
|
|
3
|
-
attr_accessor :name, :email, :external_identifier, :properties, :uid
|
3
|
+
attr_accessor :name, :email, :external_identifier, :properties, :uid, :created_at
|
4
4
|
|
5
5
|
def as_json(options={})
|
6
6
|
{
|
7
7
|
:name => self.name,
|
8
8
|
:email => self.email,
|
9
9
|
:uid => self.uid || self.external_identifier,
|
10
|
+
:created_at => self.created_at.to_i,
|
10
11
|
:properties => self.properties
|
11
12
|
}
|
12
13
|
end
|
data/lib/preact/version.rb
CHANGED