Class: Oz::Resources::Conversations
- Defined in:
- lib/oz/resources/conversations.rb
Overview
Look up redirects for agent conversations, reachable via client.agent.conversations.
Instance Method Summary collapse
-
#check_redirect(conversation_id) ⇒ Oz::Model
Resolve where a conversation id should redirect to.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Oz::Resources::Base
Instance Method Details
#check_redirect(conversation_id) ⇒ Oz::Model
Resolve where a conversation id should redirect to.
11 12 13 |
# File 'lib/oz/resources/conversations.rb', line 11 def check_redirect(conversation_id) model(@client.get("/agent/conversations/#{enc(conversation_id)}/redirect")) end |