Sha256: d7f8f28f1915a9a885acb3ccefc64cfc3fe1ad92a9f43d4f608cb4398406cb90

Contents?: true

Size: 635 Bytes

Versions: 7

Compression:

Stored size: 635 Bytes

Contents

# frozen_string_literal: true

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

7 entries across 7 versions & 1 rubygems

Version Path
calendly-0.14.0 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.13.0 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.12.0 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.11.1 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.11.0 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.10.0 lib/calendly/models/invitee_question_and_answer.rb
calendly-0.9.0 lib/calendly/models/invitee_question_and_answer.rb