module HomeAway::API::Domain::Conversation

Public Instance Methods

conversation(id) click to toggle source

Load Conversation content, including Messages, for a selected Conversation

analogous to calling a GET on API url /public/conversation

@note user must be logged in via 3 legged oauth to call this function without error

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.

@param id [String] The Conversation UUID to load. @return [HomeAway::API::Response] the result of the call to the API

# 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