Sha256: 13da0e651a8bce1dbbf2187abea10b9d0ded6b56bf7057294a998cb3d3cea029

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Resources
      class Question < Resource
        def question
          data[:question]
        end

        def answer
          data[:answer]
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentaa-api-0.3.2 lib/kentaa/api/resources/question.rb
kentaa-api-0.3.1 lib/kentaa/api/resources/question.rb
kentaa-api-0.3.0 lib/kentaa/api/resources/question.rb