Module: ProductKeywords

Included in:
TessituraRest
Defined in:
lib/tessitura_rest/txn/product_keywords.rb

Instance Method Summary collapse

Instance Method Details

#get_keywords(ids, options = {}) ⇒ Object



2
3
4
5
6
# File 'lib/tessitura_rest/txn/product_keywords.rb', line 2

def get_keywords(ids, options = {})
  options.merge!(basic_auth: @auth, headers: @headers)
  response = self.class.get(base_api_endpoint("TXN/ProductKeywords?productionElementIds=#{ids}"), options)
  JSON.parse(response.body)
end