Sha256: c215e317ef3d4580121ede9fc494f01b61d9969cf3620999b498c6d501a6f03b
Contents?: true
Size: 667 Bytes
Versions: 2
Compression:
Stored size: 667 Bytes
Contents
require 'intercom/service/base_service' require 'intercom/api_operations/find' require 'intercom/api_operations/list' require 'intercom/api_operations/save' module Intercom module Service class ExportContent < BaseService include ApiOperations::Load include ApiOperations::List include ApiOperations::Find include ApiOperations::Save def collection_class Intercom::ExportContent end def collection_name 'export/content/data' end def cancel(id) response = @client.post("/export/cancel/#{id}", {}) collection_class.new.from_response(response) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
intercom-4.2.1 | lib/intercom/service/export_content.rb |
intercom-4.2.0 | lib/intercom/service/export_content.rb |