lib/kentaa/api/resources/question.rb in kentaa-api-0.4.0 vs lib/kentaa/api/resources/question.rb in kentaa-api-0.5.0

- old
+ new

@@ -12,9 +12,17 @@ def id data[:id] end + def created_at + Time.parse(data[:created_at]) if data[:created_at] + end + + def updated_at + Time.parse(data[:updated_at]) if data[:updated_at] + end + def question data[:question] end def answer