module WebContents

Public Instance Methods

get_web_contents(production_ids=nil, package_ids=nil, content_type_ids=nil, options={}) click to toggle source
# File lib/tessitura_rest/txn/web_contents.rb, line 3
def get_web_contents(production_ids=nil, package_ids=nil, content_type_ids=nil, options={})
  options.merge!(basic_auth: @auth, headers: @headers)
  response = self.class.get(base_api_endpoint("TXN/WebContents?productionElementIds=#{production_ids}&packageIds=#{package_ids}&contentTypeIds=#{content_type_ids}"), options)
  JSON.parse(response.body)
end