lib/ahub/question.rb in ahub-0.1.16 vs lib/ahub/question.rb in ahub-0.1.17

- old
+ new

@@ -16,9 +16,10 @@ attr_accessor :title, :body, :body_as_html, :author attr_reader :space_id, :answerCount def initialize(attrs) + @id = attrs[:id] @answer_ids = attrs[:answers] @answerCount = attrs[:answerCount] @body = attrs[:body] @body_as_html = attrs[:bodyAsHTML] @space_id = attrs[:primaryContainerId]