lib/ahub/answer.rb in ahub-0.1.4 vs lib/ahub/answer.rb in ahub-0.1.7
- old
+ new
@@ -1,8 +1,11 @@
module Ahub
class Answer
extend Ahub::APIHelpers
+ def initialize(attrs)
+ end
+
def self.create(question_id:, body:, username:, password:)
data = {body: body}
url = "#{Ahub::DOMAIN}/services/v2/question/#{question_id}/answer.json"