class Plivo::Resources::ComplianceDocument
Public Class Methods
new(client, options = nil)
click to toggle source
Calls superclass method
Plivo::Base::Resource::new
# File lib/plivo/resources/regulatory_compliance.rb, line 214 def initialize(client, options = nil) @_name = 'ComplianceDocument' @_identifier_string = 'compliance_document' super end
Public Instance Methods
delete()
click to toggle source
# File lib/plivo/resources/regulatory_compliance.rb, line 220 def delete perform_delete end
to_s()
click to toggle source
# File lib/plivo/resources/regulatory_compliance.rb, line 228 def to_s { api_id: @api_id, end_user_id: @end_user_id, document_type_id: @document_type_id, compliance_document_id: @compliance_document_id, document_id: @document_id, alias: @alias, meta_information: @meta_information, file: @file, file_name: @file_name, created_at: @created_at }.delete_if { |key, value| value.nil? }.to_s end
update(params)
click to toggle source
# File lib/plivo/resources/regulatory_compliance.rb, line 224 def update(params) perform_update(params, use_multipart_conn: true) end