Class: Calendly::RoutingFormSubmissionEventTypeResult

Inherits:
Object
  • Object
show all
Includes:
ModelUtils
Defined in:
lib/calendly/models/routing_form_submission_event_type_result.rb

Overview

Event type Routing Form Submission result.

Constant Summary

Constants included from ModelUtils

ModelUtils::UUID_FORMAT

Instance Attribute Summary collapse

Method Summary

Methods included from ModelUtils

#client, #id, included, #initialize, #inspect

Instance Attribute Details

#typeString

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.

Returns:

  • (String)


12
13
14
# File 'lib/calendly/models/routing_form_submission_event_type_result.rb', line 12

def type
  @type
end

#valueString, 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.

Returns:

  • (String, Hash)


18
19
20
# File 'lib/calendly/models/routing_form_submission_event_type_result.rb', line 18

def value
  @value
end