Class: Calendly::RoutingFormSubmissionEventTypeResult
- Inherits:
-
Object
- Object
- Calendly::RoutingFormSubmissionEventTypeResult
- 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
Instance Attribute Summary collapse
-
#type ⇒ String
If the type is event_type, indicates that the routing form submission resulted in a redirect to an event type booking page.
-
#value ⇒ String, Hash
If the type is event_type, a reference to the event type resource.
Method Summary
Methods included from ModelUtils
#client, #id, included, #initialize, #inspect
Instance Attribute Details
#type ⇒ 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.
12 13 14 |
# File 'lib/calendly/models/routing_form_submission_event_type_result.rb', line 12 def type @type end |
#value ⇒ 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.
18 19 20 |
# File 'lib/calendly/models/routing_form_submission_event_type_result.rb', line 18 def value @value end |