Class: Twilio::REST::FlexApi

Inherits:
FlexApiBase show all
Defined in:
lib/twilio-ruby/rest/flex_api.rb,
lib/twilio-ruby/rest/flex_api/v1.rb,
lib/twilio-ruby/rest/flex_api/v2.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin.rb,
lib/twilio-ruby/rest/flex_api/v1/channel.rb,
lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb,
lib/twilio-ruby/rest/flex_api/v2/flex_user.rb,
lib/twilio-ruby/rest/flex_api/v1/assessments.rb,
lib/twilio-ruby/rest/flex_api/v1/interaction.rb,
lib/twilio-ruby/rest/flex_api/v1/web_channel.rb,
lib/twilio-ruby/rest/flex_api/v2/web_channels.rb,
lib/twilio-ruby/rest/flex_api/v1/configuration.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_session.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb,
lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb,
lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb,
lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb,
lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb,
lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb

Defined Under Namespace

Classes: V1, V2

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from FlexApiBase

#initialize, #to_s, #v1, #v2

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::FlexApiBase

Instance Method Details

#assessmentsTwilio::REST::Flex_api::V1::AssessmentsInstance

Returns:

  • (Twilio::REST::Flex_api::V1::AssessmentsInstance)


6
7
8
9
# File 'lib/twilio-ruby/rest/flex_api.rb', line 6

def assessments
  warn "assessments is deprecated. Use v1.assessments instead."
  self.v1.assessments()
end

#channel(sid = :unset) ⇒ Twilio::REST::Flex_api::V1::ChannelInstance, Twilio::REST::Flex_api::V1::ChannelList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Channel resource.

Returns:

  • (Twilio::REST::Flex_api::V1::ChannelInstance)

    if sid was passed.

  • (Twilio::REST::Flex_api::V1::ChannelList)


16
17
18
19
# File 'lib/twilio-ruby/rest/flex_api.rb', line 16

def channel(sid=:unset)
  warn "channel is deprecated. Use v1.channel instead."
  self.v1.channel(sid)
end

#configurationTwilio::REST::Flex_api::V1::ConfigurationInstance

Returns:

  • (Twilio::REST::Flex_api::V1::ConfigurationInstance)


23
24
25
26
# File 'lib/twilio-ruby/rest/flex_api.rb', line 23

def configuration
  warn "configuration is deprecated. Use v1.configuration instead."
  self.v1.configuration()
end

#flex_flow(sid = :unset) ⇒ Twilio::REST::Flex_api::V1::FlexFlowInstance, Twilio::REST::Flex_api::V1::FlexFlowList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Flex Flow resource.

Returns:

  • (Twilio::REST::Flex_api::V1::FlexFlowInstance)

    if sid was passed.

  • (Twilio::REST::Flex_api::V1::FlexFlowList)


33
34
35
36
# File 'lib/twilio-ruby/rest/flex_api.rb', line 33

def flex_flow(sid=:unset)
  warn "flex_flow is deprecated. Use v1.flex_flow instead."
  self.v1.flex_flow(sid)
end

#good_dataTwilio::REST::Flex_api::V1::GoodDataInstance

Returns:

  • (Twilio::REST::Flex_api::V1::GoodDataInstance)


40
41
42
43
# File 'lib/twilio-ruby/rest/flex_api.rb', line 40

def good_data
  warn "good_data is deprecated. Use v1.good_data instead."
  self.v1.good_data()
end

#interaction(sid = :unset) ⇒ Twilio::REST::Flex_api::V1::InteractionInstance, Twilio::REST::Flex_api::V1::InteractionList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string created by Twilio to identify an Interaction resource, prefixed with KD.

Returns:

  • (Twilio::REST::Flex_api::V1::InteractionInstance)

    if sid was passed.

  • (Twilio::REST::Flex_api::V1::InteractionList)


50
51
52
53
# File 'lib/twilio-ruby/rest/flex_api.rb', line 50

def interaction(sid=:unset)
  warn "interaction is deprecated. Use v1.interaction instead."
  self.v1.interaction(sid)
end

#user_rolesTwilio::REST::Flex_api::V1::UserRolesInstance

Returns:

  • (Twilio::REST::Flex_api::V1::UserRolesInstance)


57
58
59
60
# File 'lib/twilio-ruby/rest/flex_api.rb', line 57

def user_roles
  warn "user_roles is deprecated. Use v1.user_roles instead."
  self.v1.user_roles()
end

#web_channel(sid = :unset) ⇒ Twilio::REST::Flex_api::V1::WebChannelInstance, Twilio::REST::Flex_api::V1::WebChannelList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the WebChannel resource.

Returns:

  • (Twilio::REST::Flex_api::V1::WebChannelInstance)

    if sid was passed.

  • (Twilio::REST::Flex_api::V1::WebChannelList)


67
68
69
70
# File 'lib/twilio-ruby/rest/flex_api.rb', line 67

def web_channel(sid=:unset)
  warn "web_channel is deprecated. Use v1.web_channel instead."
  self.v1.web_channel(sid)
end