Method: HelloServerClient::Notification#updated_time

Defined in:
lib/hello_server_client/notification.rb

#updated_timeObject

INFO: add oj gem attribute :value_json def value

nil if self.value_json.nil?
Oj.load(self.value_json.to_s)

end

def value=(obj)

if obj.nil?
  self.value_json = nil
  return
end
self.value_json = Oj.dump(obj)

end



71
72
73
# File 'lib/hello_server_client/notification.rb', line 71

def updated_time
  Time.at(self.updated_at.to_i)
end