lib/intercom/user.rb in intercom-0.0.7 vs lib/intercom/user.rb in intercom-0.0.8
- old
+ new
@@ -149,9 +149,30 @@
def last_impression_at
time_at("last_impression_at")
end
##
+ # Set Time at which this User last made a request your application.
+ # @return [void]
+ def last_impression_at=(time)
+ set_time_at("last_impression_at", time)
+ end
+
+ ##
+ # Get last time this User interacted with your application
+ # @return [Time]
+ def last_request_at
+ time_at("last_request_at")
+ end
+
+ ##
+ # Set Time at which this User last made a request your application.
+ # @return [void]
+ def last_request_at=(time)
+ set_time_at("last_request_at", time)
+ end
+
+ ##
# Get Time at which this User started using your application.
# @return [Time]
def created_at
time_at("created_at")
end