Sha256: effa493fb9add9e9df4125b387230baff3b94aee9c5441b2a2a94bb0ae2bb7c1

Contents?: true

Size: 674 Bytes

Versions: 6

Compression:

Stored size: 674 Bytes

Contents

# frozen_string_literal: true

require 'calendly/models/model_utils'

module Calendly
  # Calendly's question and answer model.
  # An individual form question and response.
  class InviteeQuestionAndAnswer
    include ModelUtils

    # @return [String]
    # The question from the event booking confirmation form.
    attr_accessor :question

    # @return [String]
    # The answer supplied by the invitee to this question.
    attr_accessor :answer

    # @return [Integer]
    # The position of this question in the event booking confirmation form.
    attr_accessor :position

  private

    def inspect_attributes
      super + %i[position question]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
calendly-0.8.3 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.8.2 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.8.1 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.8.0 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.7.0 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.6.0 lib/calendly/models/invitee_question_and_answer.rb