Module: WebContents
- Included in:
- TessituraRest
- Defined in:
- lib/tessitura_rest/txn/web_contents.rb
Instance Method Summary collapse
Instance Method Details
#get_web_contents(production_ids = nil, package_ids = nil, content_type_ids = nil, options = {}) ⇒ Object
2 3 4 5 6 |
# File 'lib/tessitura_rest/txn/web_contents.rb', line 2 def get_web_contents(production_ids = nil, package_ids = nil, content_type_ids = nil, = {}) .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}"), ) JSON.parse(response.body) end |