Module: HomeAway::API::Domain::Conversation
- Included in:
- Client
- Defined in:
- lib/homeaway/api/domain/conversation.rb
Instance Method Summary collapse
-
#conversation(id) ⇒ HomeAway::API::Response
Load Conversation content, including Messages, for a selected Conversation.
Instance Method Details
#conversation(id) ⇒ HomeAway::API::Response
Note:
user must be logged in via 3 legged oauth to call this function without error
Load Conversation content, including Messages, for a selected Conversation
analogous to calling a GET on API url /public/conversation
Headers:
-
X-HomeAway-DisplayLocale: If a locale is not specified in a query param, it will be searched for in the X-HomeAway-DisplayLocale Header. If it is not supplied in either area the default locale of the user will be selected if it exists. Otherwise the Accept-Language Header will be used.
32 33 34 35 |
# File 'lib/homeaway/api/domain/conversation.rb', line 32 def conversation(id) params = {'id' => HomeAway::API::Util::Validators.uuid(id)} get '/public/conversation', HomeAway::API::Util::Validators.query_keys(params) end |