lib/ahub/question.rb in ahub-0.1.12 vs lib/ahub/question.rb in ahub-0.1.13
- old
+ new
@@ -19,12 +19,9 @@
rescue => e
new({error: e.message})
end
def initialize(attrs)
- @id = attrs[:id]
- @error = attrs[:error]
-
@answer_ids = attrs[:answers]
@answerCount = attrs[:answerCount]
@body = attrs[:body]
@body_as_html = attrs[:bodyAsHTML]
@space_id = attrs[:primaryContainerId]