lib/restful_model.rb in inbox-0.4.2 vs lib/restful_model.rb in inbox-0.4.3
- old
+ new
@@ -1,10 +1,13 @@
+require 'time_attr_accessor'
+
module Inbox
class RestfulModel
+ extend Inbox::TimeAttrAccessor
attr_accessor :id
attr_accessor :namespace_id
- attr_accessor :created_at
+ time_attr_accessor :created_at
def self.collection_name
"#{self.to_s.downcase}s".split('::').last
end
\ No newline at end of file