Sha256: 2c1c123d57712f769cb32309ed91f95a02a87c794623470b4412c3d7b0fccc4c
Contents?: true
Size: 389 Bytes
Versions: 75
Compression:
Stored size: 389 Bytes
Contents
module WebContents 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 end
Version data entries
75 entries across 75 versions & 1 rubygems