Sha256: 406b9d4192eedf54db142ad8d6014031e5b56753cfb331a7cbc00b26e0c09702

Contents?: true

Size: 899 Bytes

Versions: 3

Compression:

Stored size: 899 Bytes

Contents

# frozen_string_literal: true

module Calendly
  # Event type Routing Form Submission result.
  class RoutingFormSubmissionEventTypeResult
    include ModelUtils

    # @return [String]
    # If the type is event_type, indicates that the routing form submission resulted in a redirect to an event type booking page.
    # If the type is external_url, indicates that the routing form submission resulted in a redirect to an external URL.
    # If the type is custom_message, indicates if the routing form submission resulted in a custom "thank you" message.
    attr_accessor :type

    # @return [String, Hash]
    # If the type is event_type, a reference to the event type resource.
    # If the type is external_url, the external URL the respondent were redirected to.
    # If the type is custom_message, contains an Hash with custom message headline and body.
    attr_accessor :value
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
calendly-0.14.0 lib/calendly/models/routing_form_submission_event_type_result.rb
calendly-0.13.0 lib/calendly/models/routing_form_submission_event_type_result.rb
calendly-0.12.0 lib/calendly/models/routing_form_submission_event_type_result.rb