lib/kentaa/api/resources/question.rb in kentaa-api-0.2.1 vs lib/kentaa/api/resources/question.rb in kentaa-api-0.3.0
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
module Kentaa
module Api
module Resources
- class Question < Base
- include Kentaa::Api::Resources::Resource
-
+ class Question < Resource
def question
data[:question]
end
def answer